Hi,

I wasn't aware of the *svnmucc* command, so that's something new to learn. 
Thanks.

An alternative solution, with the same approach, is to use the *svn move* 
command. The command that worked for me was as follows:

svn move -m "Rename file to filename that is valid on Windows" 
 https://server.example.com/svn/repo/path/\ 
https://server.example.com/svn/repo/path/newname.txt

Hope this helps.

On Wednesday, 17 August 2022 at 08:31:04 UTC+1 [email protected] wrote:

> tisdag 16 augusti 2022 kl. 21:36:21 UTC+2 skrev Fiddler:
>
>> I just took a closer look at what is displayed from the web browser and 
>> the repo browser.  The file in question is actually a '\'.  It displays as 
>> a '/' when trying to check out from the command line.
>>
>
> Good find! There are, unfortunately, a few characters that can't be part 
> of valid filenames in Windows while still allowed in Subversion. I don't 
> know an exhaustive list by heart but '\' and ':' are two examples.
>
> The error displayed by the Repository Browser sure seems like a problem in 
> TortoiseSVN. I don't have the time to dig around at the moment though.
>
> I reproduced your issue and saw the same errors. I was able rename the 
> file using the svnmucc command line client (if you don't already have it 
> you can install it in the TortoiseSVN installer):
>
> C:\> *svnmucc mv https://server.example.com/svn/repo/path/\ 
> <https://server.example.com/svn/repo/path/%5C> 
> https://server.example.com/svn/repo/path/backslash 
> <https://server.example.com/svn/repo/path/backslash> -m "rename file with 
> illegal char"*
>
> The URLs are copied from the Repository Browser and the filename (here 
> just \) added. The new filename is in the end of the second URL (here 
> "backslash") is whatever you would like the new file to be called. -m is 
> the commit message.
>
> Kind regards,
> Daniel
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/45cdb459-be54-49ea-aee0-40d23b0f0a60n%40googlegroups.com.

Reply via email to