Suppose we have
- changeset 14
- changeset 15
- changeset 16
and I am on changeset 16 and I need to take out the changes I made in changeset #14 but keeping #15 and #16 intact.
Can I do this with hg? I feel like it’s impossible because changeset #15 and #16 depends on #14…. I heard about queue patches. Is it relevant?
Thanks
Take a look at the backout command. It does just what you want. It’ll remove the changes in chageset 14 and attempt to apply the later changes, asking you if it can’t make sense due to lost information.