[ 
https://issues.apache.org/jira/browse/SVN-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279538#comment-16279538
 ] 

Björn Kautler commented on SVN-4380:
------------------------------------

[~julianfoad] this bug is *not* resolved.
The situation that is mentioned in the originally linked E-Mail still holds 
true.
In {{import.c}} the property is split by `\n\r\t\v `, in {{status.c}} it is 
split by `\n\r`.
This means that the property is evaluated inconsistently, as {{import.c}} 
allows three additional separator characters that {{status.c}} does not 
consider.
So one of the places in code has to be fixed, either {{import.c}} or 
{{status.c}} and then along with it the docs, because also the docs are still 
uneven.
While the help and fixed release notes say it is the same as {{svn:ignore}}, 
the redbook at 
http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html#ftn.idm3121
 describes it like {{The ignore patterns in the svn:global-ignores property may 
be delimited with any whitespace (similar to the global-ignores runtime 
configuration option), not just newlines (as with the svn:ignore property).}}


> svn:global-ignores doesn't honor whitespace separated patterns
> --------------------------------------------------------------
>
>                 Key: SVN-4380
>                 URL: https://issues.apache.org/jira/browse/SVN-4380
>             Project: Subversion
>          Issue Type: Bug
>          Components: unknown
>    Affects Versions: trunk
>            Reporter: Paul Burba
>             Fix For: 1.8.1
>
>
> {noformat:nopanel=true}
> As reported by a user here, http://svn.haxx.se/dev/archive-2013-06/0346.shtml,
> despite what our release notes (and my original design notes
> http://wiki.apache.org/subversion/Inheritable-Ignores-AutoProps#Auto-Props_Format)
> claim, whitespace separated svn:global-ignores property values don't work:
> 1.8.0>svn pg svn:global-ignores -vR
> Properties on '.':
>   svn:global-ignores
>     *.foo *.bar *.baz
> 1.8.0>echo frob > calc\trunk\file.foo
> 1.8.0>echo frob > calc\trunk\file.bar
> 1.8.0>echo frob > calc\trunk\file.baz
> 1.8.0>svn st
> ?       calc\trunk\file.bar
> ?       calc\trunk\file.baz
> ?       calc\trunk\file.foo
> 1.8.0>svn add * --force
> ..\..\..\subversion\libsvn_client\cmdline.c:359,
> ..\..\..\subversion\libsvn_client\cmdline.c:355:
> (apr_err=SVN_ERR_RESERVED_FILENAME_SPECIFIED)
> svn: Skipping argument: E200025: '.svn' ends in a reserved name
> A         calc\trunk\file.baz
> A         calc\trunk\file.foo
> A         calc\trunk\file.bar
> 1.8.0>svn revert -R .
> Reverted 'calc\trunk\file.bar'
> Reverted 'calc\trunk\file.baz'
> Reverted 'calc\trunk\file.foo'
> Newline separated patterns work fine:
> 1.8.0>svn pg svn:global-ignores -vR
> Properties on '.':
>   svn:global-ignores
>     *.foo
>     *.bar
>     *.baz
> 1.8.0>svn st --no-ignore
> I       calc\trunk\file.bar
> I       calc\trunk\file.baz
> I       calc\trunk\file.foo
> 1.8.0>svn st
> 1.8.0>svn add * --force
> ..\..\..\subversion\libsvn_client\cmdline.c:359,
> ..\..\..\subversion\libsvn_client\cmdline.c:355:
> (apr_err=SVN_ERR_RESERVED_FILENAME_SPECIFIED)
> svn: Skipping argument: E200025: '.svn' ends in a reserved name
> 1.8.0>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to