--- 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):