Mercurial > evolve
comparison hgext/evolve.py @ 819:0b6af104fd78
merge with stable
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 03 Mar 2014 19:28:43 -0800 |
parents | c2bf0eb727f1 fcdd9b8c970b |
children | a9a66143e2ec |
comparison
equal
deleted
inserted
replaced
817:c2bf0eb727f1 | 819:0b6af104fd78 |
---|---|
1555 | 1555 |
1556 def _getmetadata(**opts): | 1556 def _getmetadata(**opts): |
1557 metadata = {} | 1557 metadata = {} |
1558 date = opts.get('date') | 1558 date = opts.get('date') |
1559 user = opts.get('user') | 1559 user = opts.get('user') |
1560 if date and '0 0' != date: | 1560 if date: |
1561 metadata['date'] = '%i %i' % util.parsedate(date) | 1561 metadata['date'] = '%i %i' % util.parsedate(date) |
1562 if user: | 1562 if user: |
1563 metadata['user'] = user | 1563 metadata['user'] = user |
1564 return metadata | 1564 return metadata |
1565 | 1565 |