~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-03 00:02:29 UTC
  • mto: This revision was merged to the branch mainline in revision 4250.
  • Revision ID: jelmer@samba.org-20090403000229-hfj4xd3od30j9udf
Rename BzrDir.push() to BzrDir.push_branch().

Show diffs side-by-side

added added

removed removed

Lines of Context:
1199
1199
                    basis.unlock()
1200
1200
        return result
1201
1201
 
1202
 
    def push(self, source, revision_id=None, overwrite=False, remember=False):
 
1202
    def push_branch(self, source, revision_id=None, overwrite=False, 
 
1203
        remember=False):
1203
1204
        """Push the source branch into this BzrDir."""
1204
1205
        br_to = None
1205
1206
        # If we can open a branch, use its direct repository, otherwise see
1254
1255
                push_result.workingtree_updated = True
1255
1256
            push_result.old_revno = push_result.branch_push_result.old_revno
1256
1257
            push_result.old_revid = push_result.branch_push_result.old_revid
1257
 
            push_result.target_branch = push_result.branch_push_result.target_branch
 
1258
            push_result.target_branch = \
 
1259
                push_result.branch_push_result.target_branch
1258
1260
        return push_result
1259
1261
 
1260
1262