/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/uncommit.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
# TODO: make the guts of this methods on tree, branch.
22
22
 
23
 
from bzrlib import (
 
23
from . import (
24
24
    errors,
25
25
    revision as _mod_revision,
26
26
    )
27
 
from bzrlib.branch import Branch
28
 
from bzrlib.errors import BoundBranchOutOfDate
 
27
from .branch import Branch
 
28
from .errors import BoundBranchOutOfDate
29
29
 
30
30
 
31
31
def remove_tags(branch, graph, old_tip, parents):
99
99
                new_revision_id = rev_id
100
100
                break
101
101
            if verbose:
102
 
                print 'Removing revno %d: %s' % (cur_revno, rev_id)
 
102
                print('Removing revno %d: %s' % (cur_revno, rev_id))
103
103
            cur_revno -= 1
104
104
            parents = graph.get_parent_map([rev_id]).get(rev_id, None)
105
105
            if not parents: