[PATCH 1 of 2] acl: add support for branch-based access control; more informative messages

Matt Mackall mpm at selenic.com
Fri Apr 30 18:35:37 CDT 2010


On Fri, 2010-04-30 at 20:29 -0300, Elifarley Callado Coelho Cruz wrote:
> Checking for branch violations first can spare us from performing
> unnecessary file-by-file checks.
> The first invalid branch access will abort the branch-checking loop,
> preventing the file-checking loop from starting.

The bulk of the actual work is probably in decompressing changelog
entries, at which point you have both their branch name and files list
handy, so decompressing them twice is discouraged.


-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list