( )⚙ D12088 fix: remove unnecessary and overly strict check for divergence

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.