Rev 46: Fix a bug in 'FAST' handling. in http://bazaar.launchpad.net/%7Ebzr/bzr-groupcompress/internal_index

John Arbash Meinel john at arbash-meinel.com
Thu Mar 5 13:24:59 GMT 2009


At http://bazaar.launchpad.net/%7Ebzr/bzr-groupcompress/internal_index

------------------------------------------------------------
revno: 46
revision-id: john at arbash-meinel.com-20090305132400-k1i3iw0vz53oywy0
parent: john at arbash-meinel.com-20090305042604-9d9sl2idrw3lvlqu
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: internal_index
timestamp: Thu 2009-03-05 07:24:00 -0600
message:
  Fix a bug in 'FAST' handling.
-------------- next part --------------
=== modified file 'groupcompress.py'
--- a/groupcompress.py	2009-03-05 04:26:04 +0000
+++ b/groupcompress.py	2009-03-05 13:24:00 +0000
@@ -380,7 +380,7 @@
             length = len(delta) + 1
             new_chunks = ['d', delta]
             if _FAST:
-                self._delta_index._source_offset += len(delta)
+                self._delta_index._source_offset += length
             else:
                 self._delta_index.add_delta_source(delta, 1)
         self._block.add_entry(key, type=type, sha1=sha1,



More information about the bazaar-commits mailing list