This is an archive of the discontinued Mercurial Phabricator instance.

fix: remove unnecessary and overly strict check for divergence
ClosedPublic

Authored by martinvonz on Jan 25 2022, 1:32 PM.

Details

Summary

rewriteutil.precheck() checks for divergence these days, so we can
remove the redundant check in hg fix.

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.

Event Timeline

martinvonz created this revision.Jan 25 2022, 1:32 PM

This patch is almost a year old. I just found it in my repo. It looks good to current-me, so I'm not sure why I didn't send it a year ago. Maybe I just had a few more fixes for precheck() to send and then I forgot this patch.

martinvonz updated this revision to Diff 31980.Jan 26 2022, 1:29 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.