hgext/convert/darcs.py
changeset 7609 82107c6b009e
parent 6956 12472a240398
child 7973 db3a68fd9387
--- a/hgext/convert/darcs.py	Wed Jan 07 02:13:32 2009 +0100
+++ b/hgext/convert/darcs.py	Wed Jan 07 17:33:07 2009 -0800
@@ -32,7 +32,7 @@
         if ElementTree is None:
             raise util.Abort(_("Python ElementTree module is not available"))
 
-        if not os.path.exists(os.path.join(path, '_darcs', 'inventory')):
+        if not os.path.exists(os.path.join(path, '_darcs', 'inventories')):
             raise NoRepo("%s does not look like a darcs repo" % path)
 
         self.path = os.path.realpath(path)