hgext/convert/git.py
changeset 16295 ba42eb722bb3
parent 16259 589aab2ca716
parent 16292 101c8a1befb1
child 16683 525fdb738975
--- a/hgext/convert/git.py	Tue Mar 27 14:37:17 2012 -0500
+++ b/hgext/convert/git.py	Tue Mar 27 16:17:46 2012 -0500
@@ -97,6 +97,8 @@
                 seen.add(f)
                 entry = entry.split()
                 h = entry[3]
+                if entry[1] == '160000':
+                    raise util.Abort('git submodules are not supported!')
                 p = (entry[1] == "100755")
                 s = (entry[1] == "120000")
                 self.modecache[(f, h)] = (p and "x") or (s and "l") or ""