Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 3199:096f1c73cdc3
Add -D/--nodates options to hg diff/export that removes dates from diff headers
and replace uses of sed in the tests with --nodates.
author | Stephen Darnell <stephen@darnell.plus.com> |
---|---|
date | Tue, 26 Sep 2006 00:05:24 +0100 |
parents | e43fd1623fe1 |
children | 53e843840349 |
line wrap: on
line diff
--- a/mercurial/patch.py Fri Sep 29 23:14:22 2006 +0200 +++ b/mercurial/patch.py Tue Sep 26 00:05:24 2006 +0100 @@ -291,6 +291,8 @@ text=opts.get('text'), git=(opts.get('git') or ui.configbool('diff', 'git', None)), + nodates=(opts.get('nodates') or + ui.configbool('diff', 'nodates', None)), showfunc=(opts.get('show_function') or ui.configbool('diff', 'showfunc', None)), ignorews=(opts.get('ignore_all_space') or