« Return to Thread: Deletion of Named branches

Re: Deletion of Named branches

by Dustin Sallings :: Rate this Message:

Reply to Author | View in Thread


On Jan 6, 2008, at 12:38, Sean Kelley wrote:

> Any thoughts on how this is best handled?  It seems more complicated  
> than GIT.


        strip (part of mq) will remove the branch if you give it the  
changeset ID of the first changeset of the branch.

        If you could give it a branch name, it'd basically do what you want  
without having to think about it.  It doesn't take a branch name now,  
so you'd have to manually track down the first branched changeset.

        Do keep in mind, though, that any ancestry will be killed off.  If  
you merged that branch in, strip will remove that merge, and any  
children of that merge.  It will definitely remove any evidence that  
you've done that work.

--
Dustin Sallings



_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial

 « Return to Thread: Deletion of Named branches