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

Re: feature request: check for valid property values

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-12-07 22:18:36 CET

Daniel Rall wrote:
> On Fri, 07 Dec 2007, Stefan Küng wrote:
>
>> Hi,
>>
>> A user reported a problem on the TSVN mailing list which he encountered
>> after setting the svn:eol-style property but leaving the value empty:
>> http://tortoisesvn.tigris.org/servlets/ReadMsg?list=users&msgNo=8535
>>
>> I know I could check for such invalid values myself in TSVN, but I think
>> this should be done in the library - after all only the svn library
>> really knows what it considers valid and what not.
>
> Current behavior:
>
> $ svn ps svn:eol-style BLLOOOG COMMITTERS
> property 'svn:eol-style' set on 'COMMITTERS'
>
>
> Proposed behavior:
>
> $ ./subversion/svn/svn ps svn:eol-style BLLOOOG COMMITTERS
> subversion/libsvn_wc/props.c:2610: (apr_err=135001)
> svn: Unrecognized line ending style for 'COMMITTERS'

Great!

Patch looks good, but I am maybe not the one qualified to comment on that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 7 22:18:54 2007

This is an archived mail posted to the Subversion Dev mailing list.