~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-26 00:50:43 UTC
  • mto: This revision was merged to the branch mainline in revision 4137.
  • Revision ID: jelmer@samba.org-20090226005043-vwlsd33d1wg9hybe
Rename PushResult to BranchPushResult.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2049
2049
 
2050
2050
        Must be called with self read locked and target write locked.
2051
2051
        """
2052
 
        result = PushResult()
 
2052
        result = BranchPushResult()
2053
2053
        result.source_branch = self
2054
2054
        result.target_branch = target
2055
2055
        result.old_revno, result.old_revid = target.last_revision_info()
2591
2591
        self._show_tag_conficts(to_file)
2592
2592
 
2593
2593
 
2594
 
class PushResult(_Result):
 
2594
class BranchPushResult(_Result):
2595
2595
    """Result of a Branch.push operation.
2596
2596
 
2597
2597
    :ivar old_revno: Revision number before push.