deleting a named branch
Giorgos Keramidas
keramida at ceid.upatras.gr
Sun Jun 8 08:57:42 CDT 2008
On Sat, 7 Jun 2008 22:53:04 -0400, "Michael P. Soulier" <msoulier at digitaltorque.ca> wrote:
> Hi,
>
> I'm thinking of using named branches in Hg to track work on a given
> activity. The branch would be named after a particular bug number,
> all work done on that branch, and then the work would be merged back
> to default when done.
>
> I'm not sure I want all those branches cluttering up things though,
> and I'm wondering if there's a way to delete the named branches when
> I'm done with them. Is there?
The transplant extension deletes the branch when you run it with:
hg update --clean default
hg transplant --all --branch NAME
More information about the Mercurial
mailing list