changeset 32129 | f0ea0f642627 |
parent 31539 | 52361c4f4dac |
child 32291 | bd872f64a8ba |
--- a/mercurial/posix.py Thu Apr 20 19:57:16 2017 +0530 +++ b/mercurial/posix.py Fri Apr 21 00:53:38 2017 +0530 @@ -494,7 +494,7 @@ def getuser(): '''return name of current user''' - return getpass.getuser() + return pycompat.fsencode(getpass.getuser()) def username(uid=None): """Return the name of the user with the given uid.