scmutil: fix erroneous Abort call
authorAdrian Buehlmann <adrian@cadifra.com>
Thu, 21 Apr 2011 12:10:03 +0200
changeset 13973 366fa83f9820
parent 13972 d1f4e7fd970a
child 13974 23f2736abce3
scmutil: fix erroneous Abort call This fixes d13913355390 (affected Windows only).
mercurial/scmutil.py
--- a/mercurial/scmutil.py	Wed Apr 20 22:43:31 2011 +0200
+++ b/mercurial/scmutil.py	Thu Apr 21 12:10:03 2011 +0200
@@ -128,7 +128,7 @@
     def __call__(self, path, mode="r", text=False, atomictemp=False):
         r = util.checkosfilename(path)
         if r:
-            raise Abort("%s: %r" % (r, path))
+            raise util.Abort("%s: %r" % (r, path))
         self.auditor(path)
         f = os.path.join(self.base, path)