summaryrefslogtreecommitdiff
path: root/fastimport/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'fastimport/parser.py')
-rw-r--r--fastimport/parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastimport/parser.py b/fastimport/parser.py
index 65d0166..a54d42a 100644
--- a/fastimport/parser.py
+++ b/fastimport/parser.py
@@ -290,6 +290,8 @@ class ImportParser(LineBasedParser):
yield self._parse_commit(line[len('commit '):])
elif line.startswith('blob'):
yield self._parse_blob()
+ elif line.startswith('done'):
+ break
elif line.startswith('progress '):
yield commands.ProgressCommand(line[len('progress '):])
elif line.startswith('reset '):