diff -r dea3903175ee -r c974320d20b9 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu May 24 15:56:47 2018 -0600 +++ b/mercurial/cmdutil.py Tue May 22 23:22:15 2018 -0400 @@ -552,7 +552,7 @@ # process each sub-directory and build tersedict for subdir in rootobj.subdirs.values(): for st, f in subdir.tersewalk(terseargs): - tersedict[st].append(f) + tersedict[st].append(util.pconvert(f)) tersedlist = [] for st in allst: