Rev 3974: Trivially fix a bug in _check_should_delta when a parent is not present. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration

John Arbash Meinel john at arbash-meinel.com
Thu Jan 29 23:04:16 GMT 2009


At http://bzr.arbash-meinel.com/branches/bzr/jam-integration

------------------------------------------------------------
revno: 3974
revision-id: john at arbash-meinel.com-20090129230103-do6e8kwjg8ns0oyp
parent: pqm at pqm.ubuntu.com-20090129131703-lgus0aiclez3isj6
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Thu 2009-01-29 17:01:03 -0600
message:
  Trivially fix a bug in _check_should_delta when a parent is not present.
-------------- next part --------------
=== modified file 'bzrlib/knit.py'
--- a/bzrlib/knit.py	2009-01-22 21:32:15 +0000
+++ b/bzrlib/knit.py	2009-01-29 23:01:03 +0000
@@ -919,7 +919,7 @@
                 # boundaries.
                 build_details = self._index.get_build_details([parent])
                 parent_details = build_details[parent]
-            except RevisionNotPresent, KeyError:
+            except (RevisionNotPresent, KeyError), e:
                 # Some basis is not locally present: always fulltext
                 return False
             index_memo, compression_parent, _, _ = parent_details



More information about the bazaar-commits mailing list