mercurial/context.py
changeset 32409 3e2e179ef031
parent 32401 284b18303f61
child 32483 f8fb8a441b4a
--- a/mercurial/context.py	Fri May 19 12:07:41 2017 +0200
+++ b/mercurial/context.py	Fri May 19 12:18:25 2017 +0200
@@ -1353,7 +1353,11 @@
 
     @propertycache
     def _date(self):
-        return util.makedate()
+        ui = self._repo.ui
+        date = ui.configdate('devel', 'default-date')
+        if date is None:
+            date = util.makedate()
+        return date
 
     def subrev(self, subpath):
         return None