Re: Problem with file name encoding during merge - URL Encoding (Percent Encoding)
Bartosz Pierzchlewicz wrote on Thu, 05 Oct 2017 12:38 +0000:
> svn checkout http://path.svn/trunk
> svn copy http://path.svn/trunk http://path.svn/branches/1.0 -m "create branch 1.0"
> svn switch http://path.svn/branches/1.0 trunk
> svn add "trunk\file With Space.txt"
> svn commit -m "Add file with space" trunk
> svn switch http://path.svn/trunk trunk
> svn merge -c3 http://path.svn/branches/1.0 trunk
> svn commit -m "Commit After Merge" trunk
> svn log http://path.svn/ -r4 -v
> Changed paths:
> M /trunk
> A /trunk/file%20With%20Space.txt (from /branches/1.0/file With Space.txt:3)
> As You can see file created by merge has name 'file%20With%20Space.txt' instead 'file With Space.txt'.
> File names are changed by URL Encoding (Percent Encoding).
I don't understand which of two possible anomalies you're seeing.
The filename should be "file With Space.txt" both on-disk and in the
output of 'svn log -v'.
Is the file called "file With Space.txt" or "file%20With%20Space.txt" on
disk? (Run '/bin/ls trunk' after the 'merge -c3' and before the commit)
Received on 2017-10-05 19:27:31 CEST
This is an archived mail posted to the Subversion Users