Hi,

On 10/10/24 09:58, Simon Harrison wrote:
Let's say I have a repo with 100 commits.

For some reason I'm not happy with r50 and would like to remove *some*
of the changes that are in that revision, but keep all following
commits. What are my options to achieve this? I've been looking at
"revert" and "backout" but unless I'm mistaken, they don't offer an
interactive option (and may not be designed for this use case).

`hg revert` does have the `-i` (interactive) option. I use it every day and that is what I would use in your scenario. If the changes are big, I tend to use it several times, focusing it with explicit paths.

Best,


Attachment: OpenPGP_0xB8EB20361976F291.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to