Re: auto-props syntax in file vs. property
From: Branko Čibej <brane_at_apache.org>
Date: Thu, 22 Feb 2018 14:10:24 +0100
On 22.02.2018 13:52, Chris wrote:
More completely: an 'svn proplist -v' would show the folloing properties:
svn:mime-type=text/plain;charset=iso-8859-1
> So the property itself is with just one semicolon in there despite the auto-prop having ;;
Yes of course. In the auto-props configuration, a single colon separates
If instead you'd had this auto-props configuration:
*.txt = svn:mime-type=text/plain;charset=iso-8859-1;svn:eol-style=LF
Then, when you added a file to Subversion, you'd get the following
svn:mime-type=text/plain
which is probably not what you want.
> While if I to the same thing manually, i.e.
On the command-line you can only set a singly property value at a time,
> My guess is that the former is the intended behavior and I should not be passing in the ";;" into the manual command,
Yes.
> 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.
Each does its job in its own context.
-- Brane
|
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.