Re: auto-props syntax in file vs. property
From: Chris <devnullaccount_at_yahoo.se>
Date: Thu, 22 Feb 2018 12:52:12 +0000 (UTC)
Re-awakening my previous thread about the auto-properties. I get really confused by where to use ;; and ; as a separator.
I currently have this in the auto-props on the repo:
And then if I add a text file:
So the property itself is with just one semicolon in there despite the auto-prop having ;;
While if I to the same thing manually, i.e.
prompt> touch foo; svn add foo; svn propset svn:mime-type "text/plain;;charset=iso-8859-1" foo; svn pg svn:mime-type foo
That is, I'm passing in the exact string that I have in my auto-props into propset for a file without .txt-suffix so I don't get the auto-properties. But as you see in the resulting property that I now have has double semi-colons.
My guess is that the former is the intended behavior and I should not be passing in the ";;" into the manual command, but I'm getting really confused here. I seems very error-prone that manual propset can't use the strings from the config file or auto-props wihtout getting a different result.
Which version is the correct one, or do both actually do the job?
BR
--------------------------------------------
Subject: Re: auto-props syntax in file vs. property
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.