/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 bzrlib/tests/blackbox/test_switch.py

  • Committer: Adrian Wilkins
  • Date: 2008-08-07 09:12:47 UTC
  • mto: (3714.1.1 bzr.ab.integration)
  • mto: This revision was merged to the branch mainline in revision 3716.
  • Revision ID: adrian.wilkins@gmail.com-20080807091247-ka2b7thkrsap69jr
Improved comments and documentation
Used urlutils.join to join the url

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        self.assertEqual(tree2.branch.base, checkout.branch.base)
65
65
 
66
66
    def test_switch_finds_relative_bound_branch(self):
67
 
        """switch should find the sibling of the bound branch for a heavy checkout
68
 
        rather than attempt to find a local sibling"""
 
67
        """Using switch on a heavy checkout should find master sibling
 
68
 
 
69
        The behaviour of lighweight and heavy checkouts should be 
 
70
        consistentwhen using the convenient "switch to sibling" feature
 
71
        Both should switch to a sibling of the branch
 
72
        they are bound to, and not a sibling of themself"""
 
73
 
69
74
        self.build_tree(['repo/',
70
75
                         'heavyco/'])
71
76
        tree1 = self.make_branch_and_tree('repo/brancha')