~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-16 01:09:56 UTC
  • mfrom: (5784.1.4 760435-less-fail)
  • Revision ID: pqm@pqm.ubuntu.com-20110416010956-5wrpm136qq2hz5f3
(mbp) rename and deprecate failUnlessExists and failIfExists (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
                pass
318
318
            else:
319
319
                try:
320
 
                    parent_ids.append(tree.get_file_revision(root_id))
 
320
                    parent_ids.append(tree.inventory[root_id].revision)
321
321
                except errors.NoSuchId:
322
322
                    # not in the tree
323
323
                    pass