uncommit: move _movedirstate() to scmutil for reuse
ClosedPublic

Authored by martinvonz on Mon, Mar 11, 2:19 PM.

Details

Summary

The function should be applicable generically when moving from one
commit to another. I'll try to add more callers when I find time.

I'm not convinced it's handling all the cases correctly, but we should
have a generic function for this kind of operation, so I think it
belongs somewhere in core (not in the uncommit extension).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
martinvonz created this revision.Mon, Mar 11, 2:19 PM
pulkit accepted this revision.Mon, Mar 11, 6:42 PM
This revision was automatically updated to reflect the committed changes.