~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-30 18:19:18 UTC
  • mfrom: (2655.1.4 remove_extra_connect)
  • Revision ID: pqm@pqm.ubuntu.com-20070730181918-3i2gb12zxmvjwh3r
(John Arbash Meinel) remove a spurious get_master_branch() call, to avoid 1 extra remote connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
1029
1029
            if last_rev == _mod_revision.ensure_null(
1030
1030
                tree.branch.last_revision()):
1031
1031
                # may be up to date, check master too.
1032
 
                master = tree.branch.get_master_branch()
1033
1032
                if master is None or last_rev == _mod_revision.ensure_null(
1034
1033
                    master.last_revision()):
1035
1034
                    revno = tree.branch.revision_id_to_revno(last_rev)