~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

Use global osutils, otherwise it creates a local var.

Which works, but causes us to run the import on every call.

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