hgext/convert/git.py
changeset 18572 5fe58f9332a4
parent 18570 dcf2d6fdf630
child 19121 478a04605ce1
--- 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):