How to pull back into "blessed" repository

Martin Geisler mg at aragost.com
Tue Dec 13 12:06:00 UTC 2011


"Steve Dyer" <Steve.Dyer at homeserve.com> writes:

> I have a master repo sitting on our server, from which I have cloned
> down to my machine.  I want to block the PUSH facility from the general
> populous though, and manage this from the server, via pulls.

The normal way to do this would be to require a password when pushing.
If you already require users to authenticate for pulls, then only allow
certain users to push. This is done with the allow_push setting for
hgweb (I assume you've exposed your central repo with hgweb).

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/



More information about the Mercurial mailing list