How to get rid of unnecessary heads?

Matt Mackall mpm at selenic.com
Thu Dec 18 20:10:58 UTC 2008


On Thu, 2008-12-18 at 14:37 +0100, Marko Käning wrote:
> Hi,
> 
> is it possible to get rid of heads?
> 
> Sounds a bit odd, doesn't it?
> 
> But I converted a rather old repo from CVS. The import created 7 heads 
> from some ancient cvs branches. I do not need these branches anymore, 
> since those paths are dead ends now!

hg clone -r good-head1 -r good-head2 orig-repo clean-repo 

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list