##// END OF EJS Templates
git convert: some versions of git use fatal: instead of error:...
Augie Fackler -
r18572:5fe58f93 default
parent child Browse files
Show More
@@ -231,7 +231,7 b' class convert_git(converter_source):'
231 # Build complete list of tags, both annotated and bare ones
231 # Build complete list of tags, both annotated and bare ones
232 for line in fh:
232 for line in fh:
233 line = line.strip()
233 line = line.strip()
234 if line.startswith("error:"):
234 if line.startswith("error:") or line.startswith("fatal:"):
235 raise util.Abort(_('cannot read tags from %s') % self.path)
235 raise util.Abort(_('cannot read tags from %s') % self.path)
236 node, tag = line.split(None, 1)
236 node, tag = line.split(None, 1)
237 if not tag.startswith(prefix):
237 if not tag.startswith(prefix):
General Comments 0
You need to be logged in to leave comments. Login now