diff mercurial/util_win32.py @ 3721:98f2507c5551

only print a warning when no username is specified - revert most of 8b55c0ba - display the username during interactive commit
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Nov 2006 21:16:05 +0100
parents 8b55c0ba8048
children abaee83ce0a6
line wrap: on
line diff
--- a/mercurial/util_win32.py
+++ b/mercurial/util_win32.py
@@ -297,3 +297,5 @@ class posixfile_nt(object):
             win32file.SetEndOfFile(self.handle)
         except pywintypes.error, err:
             raise WinIOError(err)
+
+getuser_fallback = win32api.GetUserName