subversion-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vick Khera (JIRA)" <>
Subject [jira] [Updated] (SVN-4621) fails when updating binary files due to changed behavior of svn propget
Date Wed, 11 May 2016 20:00:15 GMT


Vick Khera updated SVN-4621:
    Attachment: svn_load_dirs.patch

Attached is a patch that checks via proplist whether the svn:eol-style property exists before
trying to read it, and skipping that file like it used to in older svn versions when the property
does not exist.

> fails when updating binary files due to changed behavior of svn propget
> ----------------------------------------------------------------------------------------
>                 Key: SVN-4621
>                 URL:
>             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
> TortoiseSVN 1.9.3, Build 27038 - 64 Bit , 2015/12/13 11:53:16
>            Reporter: Holger Delfs
>         Attachments: svn_load_dirs.patch
> When 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 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 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.
> 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

View raw message