hgext/convert/darcs.py
changeset 5521 03496d4fa509
parent 5520 cc3af86ab6fe
child 5528 6ffca2bf23da
--- a/hgext/convert/darcs.py	Fri Nov 09 20:21:35 2007 -0200
+++ b/hgext/convert/darcs.py	Fri Nov 09 20:21:35 2007 -0200
@@ -24,13 +24,13 @@
         # check for _darcs, ElementTree, _darcs/inventory so that we can
         # easily skip test-convert-darcs if ElementTree is not around
         if not os.path.exists(os.path.join(path, '_darcs')):
-            raise NoRepo("couldn't open darcs repo %s" % path)
+            raise NoRepo("%s does not look like a darcs repo" % path)
 
         if ElementTree is None:
             raise util.Abort(_("Python ElementTree module is not available"))
 
         if not os.path.exists(os.path.join(path, '_darcs', 'inventory')):
-            raise NoRepo("couldn't open darcs repo %s" % path)
+            raise NoRepo("%s does not look like a darcs repo" % path)
 
         self.path = os.path.realpath(path)