summaryrefslogtreecommitdiff
path: root/contrib/fast-import/git-p4
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2007-05-23 18:49:35 -0300
committerLibravatar Han-Wen Nienhuys <hanwen@google.com>2007-05-30 16:22:57 -0300
commit9320da8dd492c13f1d32b7fde8c9e60bdbd10217 (patch)
treeed980ce985fa7d583680ab7703361299f074aa8a /contrib/fast-import/git-p4
parentRead p4 files in one batch. (diff)
downloadtgif-9320da8dd492c13f1d32b7fde8c9e60bdbd10217.tar.xz
Thinko, fix buglet.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'contrib/fast-import/git-p4')
-rwxr-xr-xcontrib/fast-import/git-p44
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 8a3c53eb8c..f1f562fae4 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -699,11 +699,11 @@ class P4Sync(Command):
assert end >= 0
else:
- end = len(specs)
-
+ end = len(data)
info['data'] = data[start:end]
idx = end
+ assert idx == len(data)
def commit(self, details, files, branch, branchPrefixes, parent = ""):
epoch = details["time"]