LWN.net Logo

Hg Init: a Mercurial tutorial

Hg Init: a Mercurial tutorial

Posted Feb 24, 2010 17:46 UTC (Wed) by smadu2 (subscriber, #54943)
In reply to: Hg Init: a Mercurial tutorial by rahulsundaram
Parent article: Hg Init: a Mercurial tutorial

I have seen people complaining when some one does push -f or rebase the
history with out letting other devs know about it etc etc I can go on ... I
agree that most of the time its people's fault for not following set
practices. I am not at all against git infact its the only one I use.


(Log in to post comments)

Hg Init: a Mercurial tutorial

Posted Feb 24, 2010 18:16 UTC (Wed) by emk (guest, #1128) [Link]

It's a good idea to configure your shared repositories to only allow fast-
forward pushes. This will prevent people from messing around with rebasing.

(We actually do allow a small amount of rebasing on certain projects at
work, but generally only on branches, and only when everybody involved has
adequate git-fu.)

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