Commits

Stefano Tortarolo  committed ec73ab3

Preserve original commit dates

  • Participants
  • Parent commits 6843182

Comments (0)

Files changed (1)

     try:
         # Commit might fail if unresolved files exist
         newrev = repo.commit(m+a+r,
-                            repo[rev].description(),
-                            repo[rev].user(),
+                            text=repo[rev].description(),
+                            user=repo[rev].user(),
+                            date=repo[rev].date(),
                             extra={'rebase_source': repo[rev].hex()})
     except util.Abort:
         # Invalidate the previous setparents