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

svn cp --parents path URL encoding issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.6.0
    • Component/s: libsvn_client
    • Labels:
      None
    • Environment:

      Windows XP

      Description

      Hi,
      
      To reproduce, first create empty repository, served via apache. Then:
      
      svn mkdir http://server/trunk/Földer -m "create folder with non-ascii
      char in name"
      
      svn co http://server/trunk wc
      echo dummy > wc\föle.txt
      svn add wc\föle.txt
      svn ci wc -m "add file with non-ascii char in name"
      svn cp http://server/trunk/föle.txt http://server/trunk/​Földer/föle.txt
      --parents -m "copy file"
      svn list http://server/trunk
      Földer
      F%C3%B6lder
      föle.txt
      
      
      What I would expect is that the file "föle.txt" is copied to the
      existing folder "Földer", but what actually happens is that a new folder
      is created with name "F%C3%B6lder".
      
      
      This happens both with 1.5.x and a trunk build.
      
      Note: I don't think the cause is the url escaping in the command line
      client, since the same happens in TSVN where I just checked that the
      urls are passed to svn_client_copy properly escaped.
      
      Stefan
      
      -- 
             ___
        oo // \\ "De Chelonian Mobile"
       (_,\/ \_/ \ TortoiseSVN
         \ \_/_\_/> The coolest Interface to (Sub)Version Control
         /_/ \_\ http://tortoisesvn.net
      

      http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1012076

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rhuijben Bert Huijben
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: