I heard of the new hg graft feature, it's a useful feature to apply certain changesets from a branch to another.
Is it possible to use it from tortoisehg?
TortoiseHg is a GUI front-end for Mercurial that runs on Microsoft Windows (on which it integrates directly with File Explorer), Mac OS X, and Linux. It is written in PyQt (except the Windows shell extension), and the underlying client can be used on the command line.
Fortunately, manually creating a branch is also straightforward in TortoiseHG (if not obvious). Select the “Open a new named branch†option and give it a name. Then commit your changes as normal. The new branch will be created and your changes committed to it.
hg graft allows "cherry-picking," as you noted in your question. For example, you can run hg graft -D "2085::2093 and not 2091" to copy only some changes from another revision. By comparison, hg rebase (with or without --keep ) will grab whatever changeset you specify and all of its decendant changes.
Workbench. TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system. It also includes a Gnome/Nautilus extension and a CLI wrapper application so the TortoiseHg tools can be used on non-Windows platforms.
TortoiseHG 2.8
Selected changeset (r64) will be grafted to local (active) branch "default", because Working Dir parent is r66
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With