Merge with crew
authorMatt Mackall <mpm@selenic.com>
Mon, 26 Feb 2007 12:12:29 -0600
changeset 4114 d5011e347476
parent 4113 972519384853 (diff)
parent 4110 b53c6f7dbb1f (current diff)
child 4115 eb0967c6e77b
child 4118 bb70d5fa02ae
Merge with crew
contrib/convert-repo
--- a/contrib/convert-repo
+++ b/contrib/convert-repo
@@ -293,7 +293,7 @@ class convert_git:
         if os.path.isdir(path + "/.git"):
             path += "/.git"
         self.path = path
-        if not os.path.exists(path + "/HEAD"):
+        if not os.path.exists(path + "/objects"):
             raise NoRepo("couldn't open GIT repo %s" % path)
 
     def getheads(self):