monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Regex for netsync branch selection


From: Timothy Brownawell
Subject: [Monotone-devel] Regex for netsync branch selection
Date: Fri, 27 May 2005 12:06:09 -0500

Netsync can now use regex matching against branch names. Cross-branch
ancestor syncing also works now.

Netsync commands can now take either a "collection" (like before) or a
"/regex/", both of which are converted to "regex" by the netsync code.
(collection is escaped and has ".*" appended, /regex/ has the leading
and trailing slashes removed.) The server limits access to the branches
in the union of the collections/regexes given (and their ancestors).
(Note that there isn't (and never way) a way to limit write access to
only certain branches. I personally don't think the write-permissions
hook should have a "collection" argument; that argument can't be
enfored.)

Old and new servers/clients can talk to eachother just fine, but if
either is old regex matching won't work.

Tim






reply via email to

[Prev in Thread] Current Thread [Next in Thread]