diff mercurial/commands.py @ 23298:dc4d0c7b7d94

diff: add a --noprefix option See previous patch descriptions for the motivation. The tests reflect the current state of the world -- as we add support we'll see changes in the test output.
author Siddharth Agarwal <sid0@fb.com>
date Thu, 13 Nov 2014 00:13:48 -0800
parents ae5d0a22ee7e
children 3177d710630d
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Nov 13 00:08:44 2014 -0800
+++ b/mercurial/commands.py	Thu Nov 13 00:13:48 2014 -0800
@@ -141,6 +141,7 @@
     ]
 
 diffopts2 = [
+    ('', 'noprefix', None, _('omit a/ and b/ prefixes from filenames')),
     ('p', 'show-function', None, _('show which function each change is in')),
     ('', 'reverse', None, _('produce a diff that undoes the changes')),
     ] + diffwsopts + [