LWN.net Logo

Hg Init: a Mercurial tutorial

Hg Init: a Mercurial tutorial

Posted Feb 25, 2010 16:05 UTC (Thu) by djpig (subscriber, #18768)
In reply to: Hg Init: a Mercurial tutorial by bjacob
Parent article: Hg Init: a Mercurial tutorial

> 1) git allows anyone with write access to damage your history with
> 'git push -f'. While this is OK for a very-decentralized project like
> Linux, it doesn't work well for projects that have a central
> repository with hundreds of writers.

That's what receive.denyNonFastForwards is for.
Of course for any reasonable complex setup you probably want to write an update hook anyway.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds