[PATCH 0 of 4 ] Recent patches with minor corrections

elifarley at gmail.com elifarley at gmail.com
Tue Jun 5 14:13:11 UTC 2012


Here are my recent patches, grouped for convenience.

tests: removed unneeded section in acl configuration: 'extensions'

Declaring 'acl' in the [extensions] section doesn't change anything.

--
acl: use of "!" prefix in user or group names

The "!" prefix allows you to prevent anyone except a given user or group to push
changesets in a given branch or path.

This patch enables a use case suggested by a user (Julien Bonnet):
There's a branch that only a given user (or group) should be able to push to,
and you don't want to restrict access to any other branch that may be created.

With the "!" prefix, you simply deny access to "!givenuser" (or "!@givengroup").

--
tests: preserve only lines matching a whitelist and keep the exit status of hg command in acl tests


More information about the Mercurial-devel mailing list