hgext/convert/hg.py
changeset 16687 e34106fa0dc3
parent 16686 67964cda8701
child 16689 f366d4c2ff34
--- a/hgext/convert/hg.py	Sat May 12 16:00:57 2012 +0200
+++ b/hgext/convert/hg.py	Sat May 12 16:00:58 2012 +0200
@@ -241,7 +241,7 @@
             # try to provoke an exception if this isn't really a hg
             # repo, but some other bogus compatible-looking url
             if not self.repo.local():
-                raise error.RepoError()
+                raise error.RepoError
         except error.RepoError:
             ui.traceback()
             raise NoRepo(_("%s is not a local Mercurial repository") % path)