Skip to content

fold: provide better guidance on two non-adjacent revs

Jason R. Coombs requested to merge topic/default/fold into branch/default

Some users have reported confusion when they invoke hg fold --exact revA revC where the two revisions are not adjacent. This common confusion could be ameliorated by detecting the condition and suggesting the likely intention (hg fold --exact revA::revC).

This change also updates the docs to provide a bit more guidance for users who may have encountered the error.

Edited by Jason R. Coombs

Merge request reports