/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_reconfigure.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
461
461
        format = controldir.format_registry.make_controldir('1.9')
462
462
        format.set_branch_format(_mod_bzrbranch.BzrBranchFormat8())
463
463
        tree = self.make_branch_and_tree('tree', format=format)
464
 
        tree.branch.set_reference_info(b'file_id', '../location', 'path')
 
464
        tree.branch.set_reference_info('path', '../location', 'file_id')
465
465
        checkout = tree.branch.create_checkout('checkout', lightweight=True)
466
466
        reconfiguration = reconfigure.Reconfigure.to_tree(checkout.controldir)
467
467
        reconfiguration.apply()
468
468
        checkout_branch = checkout.controldir.open_branch()
469
 
        self.assertEqual(('../location', 'path'),
470
 
                         checkout_branch.get_reference_info(b'file_id'))
 
469
        self.assertEqual(('../location', b'file_id'),
 
470
                         checkout_branch.get_reference_info('path'))