##// END OF EJS Templates
convert: check for darcs-2-compatible path
Bryan O'Sullivan -
r7609:82107c6b default
parent child Browse files
Show More
@@ -32,7 +32,7 b' class darcs_source(converter_source, com'
32 if ElementTree is None:
32 if ElementTree is None:
33 raise util.Abort(_("Python ElementTree module is not available"))
33 raise util.Abort(_("Python ElementTree module is not available"))
34
34
35 if not os.path.exists(os.path.join(path, '_darcs', 'inventory')):
35 if not os.path.exists(os.path.join(path, '_darcs', 'inventories')):
36 raise NoRepo("%s does not look like a darcs repo" % path)
36 raise NoRepo("%s does not look like a darcs repo" % path)
37
37
38 self.path = os.path.realpath(path)
38 self.path = os.path.realpath(path)
General Comments 0
You need to be logged in to leave comments. Login now