Page MenuHomePhabricator

rebase: when using --keep, don't care about pruned commits or divergence
ClosedPublic

Authored by martinvonz on Mar 25 2021, 6:23 PM.

Details

Summary

hg rebase --keep creates duplicate commits (not successors), so I
was surprised that it still skips pruned commits and errors out if it
"would cause divergence" (it wouldn't). I guess this was just an
oversight. We didn't have any tests for it, so I also included that.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage