Rev 64: Properly restore the label functionality. in http://bzr.arbash-meinel.com/plugins/groupcompress_rabin
John Arbash Meinel
john at arbash-meinel.com
Sat Feb 28 04:29:34 GMT 2009
At http://bzr.arbash-meinel.com/plugins/groupcompress_rabin
------------------------------------------------------------
revno: 64
revision-id: john at arbash-meinel.com-20090228042933-zdoupq6lka7lyvg9
parent: john at arbash-meinel.com-20090228042802-joang5uih4qcf45p
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: groupcompress_rabin
timestamp: Fri 2009-02-27 22:29:33 -0600
message:
Properly restore the label functionality.
-------------- next part --------------
=== modified file 'groupcompress.py'
--- a/groupcompress.py 2009-02-28 04:28:02 +0000
+++ b/groupcompress.py 2009-02-28 04:29:33 +0000
@@ -60,7 +60,7 @@
action = {'f':'fulltext', 'd':'delta'}[action_byte]
return action, None, None, bytes[1:]
(action, label_line, sha1_line, len_line,
- delta_bytes) = bytes.split('\n', 3)
+ delta_bytes) = bytes.split('\n', 4)
if (action not in ('fulltext', 'delta')
or not label_line.startswith('label: ')
or not sha1_line.startswith('sha1: ')
More information about the bazaar-commits
mailing list