Introduction
I think rewriting a story and sending / receiving “polished” sets of changes (in the Git-boys style) is usually a bad idea - history is history, it has its own meaning.
In the end, for the "mainline" branch (you use branches , right), all your changes will be presented as a single merge , regardless of the number of change counters in the branch
Short answer
Not. In Mercurial, you push / click and receive and accept the full set of changesets, which made a difference in repo history
Long answer
Somehow you can by reinstalling your change history before exchanging for the "other side". Just remember: each set of changes does not represent the new state of the object, but the diff between the old and the current (briefly describe it), thus, by the usual removal of changes, you can get the wrong final result.
In any case, you have many ways to rewrite your own story (as extensions):
- Collapse
- Change history
- MQ (with mq patches per se, bending change sets in mq-patch and splitting the same path)
- Perhaps some others unknown to me
source share