windows: get Abort from error
authorMatt Mackall <mpm@selenic.com>
Fri, 03 Apr 2009 14:52:03 -0500
changeset 7949 443c0c8636ac
parent 7948 de377b1a9a84
child 7950 9bbcfa898cd3
windows: get Abort from error
mercurial/windows.py
--- a/mercurial/windows.py	Fri Apr 03 14:51:48 2009 -0500
+++ b/mercurial/windows.py	Fri Apr 03 14:52:03 2009 -0500
@@ -8,9 +8,8 @@
 reference.
 """
 
-import util
 from i18n import _
-import errno, msvcrt, os, osutil, re, sys
+import errno, msvcrt, os, osutil, re, sys, error
 nulldev = 'NUL:'
 
 umask = 002
@@ -228,7 +227,7 @@
 
 def getuser():
     '''return name of current user'''
-    raise util.Abort(_('user name not available - set USERNAME '
+    raise error.Abort(_('user name not available - set USERNAME '
                        'environment variable'))
 
 def username(uid=None):