[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 23 Nov 2012 13:58:41 +0200

Branko Čibej wrote on Fri, Nov 23, 2012 at 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.

Nice work :-)

> $ 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'.)

"To set the 'svm:ignore' property, re-run with '--force'."

Two differences: (a) drop the "if you're sure" wording in favour of "to
do X", (b) single quotes around the --option.

---
For reference:
main.c-                         _("Lock comment file is a versioned file; "
main.c:                           "use '--force-log' to override"));
--
main.c-                     _("The log message is a pathname "
main.c:                       "(was -F intended?); use '--force-log' to override"));
Received on 2012-11-23 12:59:24 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.