Mercurial > evolve
diff hgext/evolve.py @ 818:fcdd9b8c970b stable
prune: accept '0 0' as a valide --date value
I 've no idea why 4c0f6d555032 introduced it with this check.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 03 Mar 2014 19:27:42 -0800 |
parents | 0ff862dcddbd |
children | 0b6af104fd78 97d8a652f9b9 |
line wrap: on
line diff
--- a/hgext/evolve.py Wed Jan 22 14:20:50 2014 -0800 +++ b/hgext/evolve.py Mon Mar 03 19:27:42 2014 -0800 @@ -1321,7 +1321,7 @@ metadata = {} date = opts.get('date') user = opts.get('user') - if date and '0 0' != date: + if date: metadata['date'] = '%i %i' % util.parsedate(date) if user: metadata['user'] = user