# HG changeset patch # User Augie Fackler # Date 1360328988 21600 # Node ID 5fe58f9332a462c7f279dafa8c16adc78b6b159b # Parent ad581750583455d6f94358853942a64c4924edc2 git convert: some versions of git use fatal: instead of error: I saw this behavior with git 1.7.12 on my Mac. diff -r ad5817505834 -r 5fe58f9332a4 hgext/convert/git.py --- 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):