/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 uncommit.py

  • Committer: John Arbash Meinel
  • Date: 2005-10-12 03:08:27 UTC
  • mto: (1185.31.24 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: john@arbash-meinel.com-20051012030827-6c1b3d68011e7b82
Upgrading plugin for v5

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        if verbose:
38
38
            print 'Removing revno %d: %s' % (len(rh)+1, rev_id)
39
39
        rev = branch.get_revision(rev_id)
40
 
        inv = branch.get_inventory(rev.inventory_id)
 
40
        inv = branch.get_revision_inventory(rev_id)
41
41
        inv_prev = []
42
 
        for p in rev.parents:
43
 
            inv_prev.append(branch.get_revision_inventory(p.revision_id))
 
42
        for p in rev.parent_ids:
 
43
            inv_prev.append(branch.get_revision_inventory(p))
44
44
 
45
45
        if remove_files:
46
46
            # Figure out what text-store entries are new