How to get rid of unnecessary heads?

Greg Ward gerg.ward+hg at gmail.com
Sat Dec 20 22:35:08 UTC 2008


On 19 December 2008, Isaac Jurado said:
> On Fri, Dec 19, 2008 at 1:05 PM, Georg <gwk.rko at googlemail.com> wrote:
> > If someone else has a clone, and you push/pull with him, the dead resurrect.
> >
> > I am still waiting for a real solution that works for a distributed setup.
> > Hg is a *D* VCS, after all.
> 
> Issues like that are more workflow and policy related than tool
> related.  A public repo, or at least a "blessed" one, should not
> contain experimental garbage.  This is my personal point of view.

Sure, that's your preferred policy.  Maybe I agree, or maybe I don't.
(Or maybe I agree on my personal projects, but at work I have to
implement a different policy.)  But tools should provide mechanism,
not enforce policy: if I want a different policy, the tool should not
stop me from implementing it.

Example: when I drag our CVS repository at work kicking and screaming
into the 21st century, I want to convert *all* of the history,
including old release branches that are 6 years old and have not been
used by any customer for 4 years.  If I do that, we will have dozens
of heads in our blessed central repository that nobody really needs to
see.  They should be hidden most of the time, but visible to anyone
who want to see them.

        Greg
-- 
Greg Ward                                http://www.gerg.ca/
What the hell, go ahead and put all your eggs in one basket.



More information about the Mercurial mailing list