diff mercurial/util.py @ 4067:c620376b8fd6

Fix wrong module reference in copyfile exception
author Andrei Vermel <avermel@mail.ru>
date Tue, 06 Feb 2007 00:09:36 +0300
parents 3600b84656d3
children 5b1f663ef86d cc8a52229620
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -580,7 +580,7 @@ def copyfile(src, dest):
         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"""