Closed by commit rHG1b26cb044097: windows: if username(uid=None) is loaded,
just use getpass (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision is now accepted and ready to land.
pulkit added inline comments.
pulkit accepted this revision.
INLINE COMMENTS
> windows.py:566
>
> If uid is None, return the name of the current user."""
> +if not uid:
Nice, seems like the old documentation was wrong.
REPOSITORY
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This is at least consistent with what we do on other platforms in the
base case. I don't know enough about Windows to fill in other cases
that might exist here,