On Oct 4, 2015, at 5:52 AM, Edward d'Auvergne wrote: > So the following setting disables [auto-props]: > > enable-auto-props = no > > If a svn:mime-type was defined in the config file, this is now > disabled. However in this case, [magic-auto-props] then decides to > tag everything with svn:mime-type. So the desired user action of > disabling automatic properties is replaced by the second layer of > magic that automatically adds a property, contrary to the direct > English translation of "enable-auto-props = no" -> "do not enable > automatic properties". Note how this design is incredibly confusing > from the user's perspective, when the desired action is to avoid > having svn:mime-type set. > > This is clearly overcome with the new option: > > enable-magic-file = no > > However the svn documentation really needs to clarify this > double-layered automatic property setting and, to override it, that > you need to set both: > > enable-auto-props = no > enable-magic-file = no
My introduction to Subversion as many years ago so I didn't know it worked that way. Thanks for pointing it out. You didn't mention whether you tried using the Repository Dictated Configuration feature of Subversion 1.8 and up to push this configuration to your clients. Does that work, and satisfy your needs? > The problem with the svn:mime-type block is that for svn clients < > 1.9, 'svn import' can never work. Specifically because the libmagic > layer overwrites any user decision to disable automatic properties. > The only solution I can see is to give these instructions in the > FlightGear documentation: > > - To use the 'svn import' command, you must have version 1.9 or > higher of Subversion installed, and in your ~/.subversion/config file > set both the "enable-auto-props = no" and "enable-magic-file = no" > options. > > - To avoid the automatic setting of svn properties with 'svn add' > and the blocking of commits due to the svn:mime-type property being > set, you must use version 1.9 or higher of Subversion, and in your > ~/.subversion/config file set both the "enable-auto-props = no" and > "enable-magic-file = no" options. Sorry, I must've missed why Subversion 1.9 is required?