From: Han-Wen Nienhuys Date: Wed, 23 May 2007 21:49:35 +0000 (-0300) Subject: Thinko, fix buglet. X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=501636159281d2634d8d8d28dfbd39c4854e5e50;p=python%2Ffast-export.git Thinko, fix buglet. --- diff --git a/git-p4 b/git-p4 index 8a3c53e..f1f562f 100755 --- a/git-p4 +++ b/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"]