diff -r 44fd4cfc6c0a -r 786289423e97 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Mon Dec 18 15:18:37 2017 -0800 +++ b/mercurial/cmdutil.py Tue Dec 19 16:27:24 2017 -0500 @@ -1515,7 +1515,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()