git convert: some versions of git use fatal: instead of error:
I saw this behavior with git 1.7.12 on my Mac.
--- a/hgext/convert/git.py Fri Feb 08 07:57:32 2013 -0600
+++ b/hgext/convert/git.py Fri Feb 08 07:09:48 2013 -0600
@@ -231,7 +231,7 @@
# Build complete list of tags, both annotated and bare ones
for line in fh:
line = line.strip()
- if line.startswith("error:"):
+ if line.startswith("error:") or line.startswith("fatal:"):
raise util.Abort(_('cannot read tags from %s') % self.path)
node, tag = line.split(None, 1)
if not tag.startswith(prefix):