changeset 7609:82107c6b009e

convert: check for darcs-2-compatible path
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 07 Jan 2009 17:33:07 -0800
parents 560e3e882aba
children 878466138b57
files hgext/convert/darcs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)