# HG changeset patch # User Pierre-Yves David # Date 1331205661 -3600 # Node ID c2f7a8530e51cb01b811f297975ec9f0f93cc4b1 # Parent 8dbae2bd4d065b8f2325b4059c4cd4f5a5b0fa27 overwrite user not date diff -r 8dbae2bd4d06 -r c2f7a8530e51 hgext/evolve.py --- a/hgext/evolve.py Wed Feb 29 14:49:52 2012 +0100 +++ b/hgext/evolve.py Thu Mar 08 12:21:01 2012 +0100 @@ -91,15 +91,16 @@ else: message = old.description() - + user = commitopts.get('user') or old.user() + date = commitopts.get('date') or None # old.date() new = context.memctx(repo, parents=newbases, text=message, files=files, filectxfn=filectxfn, - user=commitopts.get('user') or None, - date=commitopts.get('date') or None, + user=user, + date=date, extra=commitopts.get('extra') or None) if commitopts.get('edit'):