Rev 1481: Remove unused import. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Sat Jul 19 14:18:58 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1481
revision-id: jelmer at samba.org-20080719131856-2hc4ib3e5fiunw05
parent: jelmer at samba.org-20080719131741-ncewn2gsp0vmz6uf
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-07-19 15:18:56 +0200
message:
Remove unused import.
modified:
fetch.py fetch.py-20060625004942-x2lfaib8ra707a8p-1
=== modified file 'fetch.py'
--- a/fetch.py 2008-07-18 15:38:22 +0000
+++ b/fetch.py 2008-07-19 13:18:56 +0000
@@ -615,7 +615,11 @@
if parent_revid == NULL_REVISION:
parent_inv = Inventory(root_id=None)
elif prev_revid != parent_revid:
- parent_inv = self.target.get_inventory(parent_revid)
+ try:
+ parent_inv = self.target.get_inventory(parent_revid)
+ except NoSuchRevision:
+ # Parent is ghost
+ continue
else:
parent_inv = prev_inv
More information about the bazaar-commits
mailing list