Commits

Pierre-Yves David committed c2f7a85

overwrite user not date

  • Participants
  • Parent commits 8dbae2b
  • Branches default

Comments (0)

Files changed (1)

File hgext/evolve.py

         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'):