~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Robert Collins
  • Date: 2005-10-20 05:58:09 UTC
  • mfrom: (0.2.1)
  • mto: This revision was merged to the branch mainline in revision 1477.
  • Revision ID: robertc@robertcollins.net-20051020055809-70047c9f64e0a0a0
'bzr branch' sets the branch-name,

It will now set the branch-name to the last component of the
output directory, if one was supplied.

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
        self.example_branch()
299
299
        os.chdir('..')
300
300
        self.runbzr('branch a b')
 
301
        self.assertFileEqual('b\n', 'b/.bzr/branch-name')
301
302
        self.runbzr('branch a c -r 1')
302
303
        os.chdir('b')
303
304
        self.runbzr('commit -m foo --unchanged')