~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Marius Kruger
  • Date: 2008-11-18 21:50:10 UTC
  • mto: This revision was merged to the branch mainline in revision 3863.
  • Revision ID: amanic@gmail.com-20081118215010-m679n8qlpc2v2jdj
When doing a `commit --local`, don't try to connect to the master branch.
(Includes a new test for this)

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
        possible_master_transports=[]
185
185
        if not 'branch-nick' in revprops:
186
186
            revprops['branch-nick'] = self.branch._get_nick(
 
187
                kwargs.get('local', False),
187
188
                possible_master_transports)
188
189
        author = kwargs.pop('author', None)
189
190
        if author is not None: