Fix commit date (
issue1193)
The None check in workingctx prevents calling util.makedate
when date is not explicitly given.
--- a/mercurial/context.py Thu Jun 19 00:14:24 2008 +0200
+++ b/mercurial/context.py Sat Jun 21 15:27:51 2008 +0200
@@ -458,7 +458,7 @@
self._rev = None
self._node = None
self._text = text
- if date is not None:
+ if date:
self._date = util.parsedate(date)
else:
self._date = util.makedate()