# HG changeset patch # User Bryan O'Sullivan # Date 2009-01-08 01:33:07 # Node ID 82107c6b009ee975cc03c23b00406a58464dce99 # Parent 560e3e882abafb781ba13e1e7c3f61c9f15ad3c2 convert: check for darcs-2-compatible path diff --git a/hgext/convert/darcs.py b/hgext/convert/darcs.py --- a/hgext/convert/darcs.py +++ b/hgext/convert/darcs.py @@ -32,7 +32,7 @@ class darcs_source(converter_source, com 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)