Bjørn Forsman <bjorn.fors...@gmail.com> writes: > I didn't know about that. However, wouldn't it be an accident waiting > to happen if the SCM system *defaults* to push everything? IMHO git > seems a bit safer in this respect.
By default hg refuses to push[*] if the result would increase the number of remote heads. You can override it using the "-f" or "--force" flag, but a repository can be protected from this using a hook. Regards, Daniel [*] http://mercurial.selenic.com/wiki/Push -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss