branch | stable |
changeset 15506 | dc9fb7015d7f |
parent 15463 | e1005da0ae04 |
child 15508 | 00276525e2b7 |
--- a/mercurial/commands.py Sun Nov 13 00:29:26 2011 +0000 +++ b/mercurial/commands.py Sat Nov 12 13:15:40 2011 +0100 @@ -2590,7 +2590,10 @@ cont = False # commit - extra = {'source': ctx.hex()} + source = ctx.extra().get('source') + if not source: + source = ctx.hex() + extra = {'source': source} user = ctx.user() if opts.get('user'): user = opts['user']