Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to graft with tortoisehg

Tags:

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?

like image 441
Plap Avatar asked Jun 03 '13 14:06

Plap


People also ask

What is TortoiseHg used for?

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.

How do I create a branch in TortoiseHg?

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.

What is HG graft?

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.

What is TortoiseHg workbench?

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.


1 Answers

TortoiseHG 2.8

Graft

Selected changeset (r64) will be grafted to local (active) branch "default", because Working Dir parent is r66

like image 176
Lazy Badger Avatar answered Oct 26 '22 23:10

Lazy Badger