mercurial/patch.py
changeset 3192 096f1c73cdc3
parent 3159 e43fd1623fe1
child 3215 53e843840349
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -291,6 +291,8 @@ def diffopts(ui, opts={}):
         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