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

2019-12-17 Thread durin42 (Augie Fackler)
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

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

2019-12-17 Thread pulkit (Pulkit Goyal)
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

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

2019-12-16 Thread durin42 (Augie Fackler)
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,