Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4621

svn_load_dirs.pl fails when updating binary files due to changed behavior of svn propget

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9.3
    • Fix Version/s: None
    • Component/s: cmdline client, tools
    • Labels:
      None
    • 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

      Description

      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:

      ...
      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:
      

      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.

        Attachments

        1. svn_load_dirs.patch
          0.9 kB
          Vivek Khera

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hdelfs Holger Delfs
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: