You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Ray Bon (JIRA)" <ji...@apache.org> on 2016/03/16 17:33:33 UTC

[jira] [Commented] (SVN-4621) svn_load_dirs.pl fails when updating binary files due to changed behavior of svn propget

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

Ray Bon commented on SVN-4621:
------------------------------

I can confirm this behaviour.
$ svn --version
svn, version 1.9.3 (r1718519)
   compiled Dec 16 2015, 08:53:26 on x86_64-redhat-linux-gnu
$ cat /etc/fedora-release 
Fedora release 23 (Twenty Three)

It may not be limited to binary files. It happened with githash.php from Moodle.
I tried adding the option --show-inherited-props (which seems to suppress the error from the command line) to various places in the propget part of svn_load_dirs.pl (around line 1240) but this created other errors.

> svn_load_dirs.pl fails when updating binary files due to changed behavior of svn propget
> ----------------------------------------------------------------------------------------
>
>                 Key: SVN-4621
>                 URL: https://issues.apache.org/jira/browse/SVN-4621
>             Project: Subversion
>          Issue Type: Bug
>          Components: cmdline client, tools
>    Affects Versions: 1.9.3
>         Environment: Commandline Client from TortoiseSVN Windows Client Distribution
> svn --version --> svn, version 1.9.3 (r1718519) compiled Dec 13 2015, 15:47:16 on x86-microsoft-windows
> TortoiseSVN 1.9.3, Build 27038 - 64 Bit , 2015/12/13 11:53:16
>            Reporter: Holger Delfs
>
> When svn_load_dirs.pl encounters an update on a binary file having no svn:eol-style property (e.g. an Excel file), it fails with the following error output:
> {noformat}
> ...
> Running svn propget svn:eol-style vorlagen/Vorlage_BerichtAKL.xlsm@BASE
> svn: warning: W200017: Property 'svn:eol-style' not found on 'vorlagen/Vorlage_BerichtAKL.xlsm@BASE'
> svn: E200000: A problem occurred; see other errors for details
> svn_load_dirs.pl: svn propget svn:eol-style vorlagen/Vorlage_BerichtAKL.xlsm@BASE failed with this output:
> {noformat}
> The cause of this error seems to be the changed behavior of the svn propget command for a non-existent property, as discussed in SVN-4505. While the svn_load_dirs.pl script expects an empty output in this case (which was the behavior up to Subversion 1.8), the new error message from svn propget introduced with Subversion 1.9 causes the whole script to abort.
> svn_load_dirs.pl should be modified to either handle the error message or to first check the existence of the svn:eol-style property with svn proplist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)