Fix wrong module reference in copyfile exception
authorAndrei Vermel <avermel@mail.ru>
Tue, 06 Feb 2007 00:09:36 +0300
changeset 4067 c620376b8fd6
parent 4066 cff3e4b4a8de
child 4068 5b1f663ef86d
child 4074 0f9381cf9723
Fix wrong module reference in copyfile exception
mercurial/util.py
--- a/mercurial/util.py	Tue Feb 06 15:55:20 2007 -0200
+++ b/mercurial/util.py	Tue Feb 06 00:09:36 2007 +0300
@@ -580,7 +580,7 @@
         shutil.copyfile(src, dest)
         shutil.copymode(src, dest)
     except shutil.Error, inst:
-        raise util.Abort(str(inst))
+        raise Abort(str(inst))
 
 def copyfiles(src, dst, hardlink=None):
     """Copy a directory tree using hardlinks if possible"""