[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] svn propset should require 'force' to set unknown svn: propnames

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 23 Nov 2012 11:43:29 +0100

On 19.11.2012 03:50, Julian Foad wrote:
> Proposal:
>
> For any unrecognized property name in the 'svn:' name space, these would bail out with an error unless '--force' is given:
>
> svn pset svn:foo
> svn pedit svn:foo
>
> and all other subcommands where properties are handled would continue to work as normal, no '--force' needed

Here's what the prototype currently does. Any suggestions for better
wording are most welcome.

$ svn ps svm:ignore x .
svn: E195011: 'svm:ignore' is not a valid svn: property name; did you mean 'svn:ignore'?
(Use --force if you're sure about 'svm:ignore'.)

$ svn ps gvm:ignore x .
property 'gvm:ignore' set on '.'

$ svn ps gvn:ignore x .
svn: E195011: 'gvn:ignore' is not a valid svn: property name; did you mean 'svn:ignore'?
(Use --force if you're sure about 'gvn:ignore'.)

$ svn ps svn:ignores x .
svn: E195011: 'svn:ignores' is not a valid svn: property name; did you mean 'svn:ignore'?
(Use --force if you're sure about 'svn:ignores'.)

$ svn ps svn:local-ignore x .
svn: E195011: 'svn:local-ignore' is not a valid svn: property name; did you mean 'svn:global-ignores'?
(Use --force if you're sure about 'svn:local-ignore'.)

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2012-11-23 11:44:10 CET

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.