1 Feb 02:44
Re: [RFC] Server Dictated Configuration
Paul Burba <ptburba <at> gmail.com>
2012-02-01 01:44:02 GMT
2012-02-01 01:44:02 GMT
On Tue, Jan 31, 2012 at 12:48 PM, Julian Foad <julianfoad <at> btopenworld.com> wrote: > Paul Burba wrote: > >> Julian Foad wrote: >>> The ability to see the inherited value and then merge in a child-defined >>> value (adding/subtracting/overriding semantic sub-elements within the >>> property value) is essential if we're going to implement these features >>> using properties with semantics like the existing 'svn:ignores'. >> >> Why do we need to subtract and override? [...] >> >> 5) [...] we take a path's inherited (or explicit) svn:i:ignores >> property value, the svn:ignore property (if any) on a path's >> parent directory, and the global-ignores runtime config value and >> append all three together to get the final answer on what to ignore. >> >> I take it you view this as insufficient? > > 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 ... > /subversion/trunk/tests svn:i:ignore = *.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(Continue reading)
RSS Feed