~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/uncommit.py

uncommit doesn't need to read inventories since it doesn't do cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        rev_id = rh.pop()
32
32
        if verbose:
33
33
            print 'Removing revno %d: %s' % (len(rh)+1, rev_id)
34
 
        rev = branch.get_revision(rev_id)
35
 
        inv = branch.get_revision_inventory(rev_id)
36
 
        inv_prev = []
37
 
        for p in rev.parent_ids:
38
 
            inv_prev.append(branch.get_revision_inventory(p))
39
34
 
40
35
    new_rev_history.write('\n'.join(rh))
41
36