~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.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:
393
393
        """Return location relative to branch."""
394
394
        return self._transport.abspath(self._rel_controlfilename(file_or_path))
395
395
 
396
 
 
397
396
    def controlfile(self, file_or_path, mode='r'):
398
397
        """Open a control file for this branch.
399
398