~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/uncommit.py

  • Committer: Aaron Bentley
  • Date: 2005-12-25 00:38:48 UTC
  • mto: (1185.67.11 bzr.revision-storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051225003848-111ac71170cb2605
Renamed Branch.storage to Branch.repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        rev_id = rh.pop()
33
33
        if verbose:
34
34
            print 'Removing revno %d: %s' % (len(rh)+1, rev_id)
35
 
        rev = branch.storage.get_revision(rev_id)
36
 
        inv = branch.storage.get_revision_inventory(rev_id)
 
35
        rev = branch.repository.get_revision(rev_id)
 
36
        inv = branch.repository.get_revision_inventory(rev_id)
37
37
        inv_prev = []
38
38
        for p in rev.parent_ids:
39
 
            inv_prev.append(branch.storage.get_revision_inventory(p))
 
39
            inv_prev.append(branch.repository.get_revision_inventory(p))
40
40
 
41
41
        if remove_files:
42
42
            # Figure out what text-store entries are new