Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 7949:443c0c8636ac
windows: get Abort from error
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 03 Apr 2009 14:52:03 -0500 |
parents | ec4784bb7d75 |
children | 46293a0c7e9f |
line wrap: on
line diff
--- 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):