Re: [RFC] Server Dictated Configuration
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 31 Jan 2012 17:48:24 +0000 (GMT)
Paul Burba wrote:
> Julian Foad wrote:
This hybrid approach to defining the ignore patterns by means of one inheritable property and a different non-inheritable property gives us in total the ability to both override and append.
Overriding is done by setting a new value for the inheritable property svn:i:ignore, like this:
/subversion svn:i:ignore = *.o *.obj *.a *.lib ...
... which can be done hierarchically; but every such override at a subtree level duplicates much of the information that was provided at the '/subversion' level, which means that whenever we modify the base setting we probably want to look through the whole repository and modify all the subtree settings in the same way.
Appending is done by a non-inheritable svn:ignore property, like this:
/subversion/trunk/tests/libsvn_client svn:ignore = *-test *-test.exe *-tester *-tester.exe
... which can't be done hierarchically: we can't append the '*-test...' patterns just once at the '/subversion/trunk/tests/' directory level.
So the result is better than what we have now, for ignore patterns. If that's all we need, fair enough. But if we're designing a feature to take us into the future, not just for svn:ignore, and if that's the best general usage pattern we can achieve, I feel we ought to be aiming for better.
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.