/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/uncommit.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

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 breezy import (
 
23
from . import (
24
24
    errors,
25
25
    revision as _mod_revision,
26
26
    )
27
 
from breezy.branch import Branch
28
 
from breezy.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: