filter-repo: fix parsing bug in Reset object creation

Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
Elijah Newren 2009-02-04 17:25:38 -07:00
parent b029443a6f
commit c92a4e471e

View File

@ -189,7 +189,7 @@ class FastExportParser(object):
ref = t[1]
from_ref = None
if len(t) > 2:
from_ref = t[4]
from_ref = t[3]
reset = Reset(ref, from_ref)
# Call any user callback to allow them to modify the reset