monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] new restrictions branch for including required parents


From: Derek Scherger
Subject: [Monotone-devel] new restrictions branch for including required parents
Date: Sat, 15 May 2010 11:41:01 -0600

I've started a new branch net.venge.monotone.restrictions.implicit-includes that changes the restrictions code to always include the parents of explicitly included nodes.

This turned out to be a relatively simple change and I've updated the restriction unit-tests so that they are all passing. It's now a matter of updating the lua tests and dealing with the fallout from that. After an initial look over things it doesn't look like it should be too difficult to do. Then it's just a matter of agreeing that the new semantics are an improvement over the current semantics.

For example, this should now work:

$ mtn add a/b/c
$ mtn commit a/b/c

This will also "work":

$ mtn add a/b/c
$ mtn commit a/b/c --exclude a/b

because explicit excludes are overridden by implicit includes of required parents. The implicit includes only apply to the parent directories themselves, not any of their children (i.e. non-recursively).

If this works out landing the bugfest-2010.20447-dscherger branch should be straightforward.

Cheers,
Derek


reply via email to

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