changeset 4113:972519384853

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Fri, 23 Feb 2007 14:16:50 -0600
parents c097b6f4f082 (diff) 20af6a2f0b0e (current diff)
children d5011e347476
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):