Mercurial > evolve
view .hg-format-source @ 6217:4466989cee8d
precheck: fix false warning about divergence creation, in hg prune
In case of pruning with no successors, there is no chance for new divergence.
It was happening becuase current precheck logic assumes that every revision
being rewritten will be replaced with at least one successor.
Changes in test file demonstrate the fixed bug.
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Fri, 23 Jul 2021 00:34:29 +0530 |
parents | 48b30ff742cb |
children |