D3636: py3: use pycompat.fsencode() to convert user value to bytes

2018-06-13 Thread pulkit (Pulkit Goyal)
pulkit abandoned this revision. pulkit added inline comments. INLINE COMMENTS > durin42 wrote in debugcommands.py:1403 > Should util.username() instead consistently return bytes? Yes, https://phab.mercurial-scm.org/D3706 did that. Abandoning this one. REPOSITORY rHG Mercurial REVISION

Re: D3636: py3: use pycompat.fsencode() to convert user value to bytes

2018-05-22 Thread Yuya Nishihara
On Sun, 20 May 2018 13:40:10 +, pulkit (Pulkit Goyal) wrote: > --- a/mercurial/debugcommands.py > +++ b/mercurial/debugcommands.py > @@ -1400,7 +1400,7 @@ > try: > st = vfs.lstat(name) > age = now - st[stat.ST_MTIME] > -user =

D3636: py3: use pycompat.fsencode() to convert user value to bytes

2018-05-20 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3636 AFFECTED FILES mercurial/debugcommands.py CHANGE DETAILS diff --git a/mercurial/debugcommands.py