~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
822
822
    def run(self, dir='.'):
823
823
        tree = WorkingTree.open_containing(dir)[0]
824
824
        tree.lock_write()
825
 
        existing_pending_merges = tree.pending_merges()
826
825
        try:
827
 
            last_rev = tree.last_revision() 
 
826
            existing_pending_merges = tree.pending_merges()
 
827
            last_rev = tree.last_revision()
828
828
            if last_rev == tree.branch.last_revision():
829
829
                # may be up to date, check master too.
830
830
                master = tree.branch.get_master_branch()