This is an archive of the discontinued Mercurial Phabricator instance.

tweakdefaults: make histedit update dates of commits it edits
ClosedPublic

Authored by mbthomas on Aug 23 2017, 12:25 PM.
Tags
None
Subscribers

Details

Summary

tweakdefaults already overrides amend, rebase and graft to update the commit date
to the current time when it creates new commits.

This extends this to also give the same behavior to histedit.

Test Plan

New unit test added.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Branch
default
Lint
Lint OK
Unit
Unit Tests OK

Event Timeline

mbthomas created this revision.Aug 23 2017, 12:25 PM
ryanmce accepted this revision.Aug 24 2017, 9:55 AM
ryanmce added a subscriber: ryanmce.

awesome

This revision is now accepted and ready to land.Aug 24 2017, 9:55 AM
This revision was automatically updated to reflect the committed changes.