Merge with crew
authorMatt Mackall <mpm@selenic.com>
Thu, 22 Feb 2007 19:00:05 -0600
changeset 4112 c097b6f4f082
parent 4111 06d65498f73b (diff)
parent 4107 226df1808f16 (current diff)
child 4113 972519384853
Merge with crew
--- 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):