# HG changeset patch # User Bryan O'Sullivan # Date 1231378387 28800 # Node ID 82107c6b009ee975cc03c23b00406a58464dce99 # Parent 560e3e882abafb781ba13e1e7c3f61c9f15ad3c2 convert: check for darcs-2-compatible path diff -r 560e3e882aba -r 82107c6b009e hgext/convert/darcs.py --- 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)