~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-10 13:52:27 UTC
  • mto: (5712.4.5 bzrdir-weave)
  • mto: This revision was merged to the branch mainline in revision 5716.
  • Revision ID: jelmer@samba.org-20110310135227-ufcw0utlwsp8r6k6
Revert registry changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    versionedfile,
34
34
    )
35
35
""")
 
36
import bzrlib
36
37
from bzrlib import (
37
38
    errors,
38
39
    ui,
317
318
                pass
318
319
            else:
319
320
                try:
320
 
                    parent_ids.append(tree.get_file_revision(root_id))
 
321
                    parent_ids.append(tree.inventory[root_id].revision)
321
322
                except errors.NoSuchId:
322
323
                    # not in the tree
323
324
                    pass