how to disallow push for user who doesn't trust to owner of repo

Matt Mackall mpm at selenic.com
Wed Jan 30 19:00:19 UTC 2008


On Wed, 2008-01-30 at 20:07 +0300, Oleg Sukhodolsky wrote:
> Hi,
> 
> if someone forget to add owner of the repo to which he/she wants push changes
> then mercurial will not execute hooks for this push, but allow the push.
> Is it possible to disallow push for such users?

Yes, simply deny write access to the repository at the filesystem
permissions level.

If you want to force people to use your hooks, you must force them to go
through a server that runs under your control rather than allowing them
to access your files directly. 

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list