Thinko, fix buglet.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Han-Wen Nienhuys committed
May 23, 2007 at 18:49 UTC
9320da8dd492c13f1d32b7fde8c9e60bdbd10217
1 file changed
+2
-2
contrib/fast-import/git-p4
+2
-2
@@ -699,11 +699,11 @@ class P4Sync(Command):
699
700
assert end >= 0
701
else:
702
- end = len(specs)
703
-
702
+ end = len(data)
703
704
info['data'] = data[start:end]
705
idx = end
706
+ assert idx == len(data)
707
708
def commit(self, details, files, branch, branchPrefixes, parent = ""):
709
epoch = details["time"]