diff -r 0279c2267d00 -r 058c725925e3 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sun Dec 17 18:28:15 2017 +0900 +++ b/mercurial/cmdutil.py Sun Dec 17 18:43:05 2017 +0900 @@ -1514,7 +1514,7 @@ match.uipath(matchroot), uirelroot)) if stat: - diffopts = diffopts.copy(context=0) + diffopts = diffopts.copy(context=0, noprefix=False) width = 80 if not ui.plain(): width = ui.termwidth()