# HG changeset patch # User Adrian Buehlmann # Date 2011-04-21 10:10:03 # Node ID 366fa83f9820b97b438cb2972b1f2f7b9edab037 # Parent d1f4e7fd970a10ede833e7073441afc5313570fa scmutil: fix erroneous Abort call This fixes d13913355390 (affected Windows only). diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -128,7 +128,7 @@ class opener(object): 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)