D7679: windows: if username(uid=None) is loaded, just use getpass

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Dec 17 02:59:03 EST 2019


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
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7679/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7679

To: durin42, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list