From the SVN book:
The perceptive reader is probably wondering at this point whether the peg revision syntax causes problems for working copy paths or URLs that actually have at signs in them. After all, how does svn know whether news@11 is the name of a directory in my tree or just a syntax for “revision 11 of news”? Thankfully, while svn will always assume the latter, there is a trivial workaround. You need only append an at sign to the end of the path, such as news@11@. svn cares only about the last at sign in the argument, and it is not considered illegal to omit a literal peg revision specifier after that at sign. This workaround even applies to paths that end in an at sign—you would use filename@@ to talk about a file named filename@.
According to this description, you only need to add an @ sign to the path.
so this:
svn add "C:\SomeTests\[email protected]"
gives me that error:
svn: E200009: 'C:/SomeTests/[email protected]': a peg revision is not allowed here
and this:
svn add "C:\SomeTests\[email protected]@"
works for me.
also this works for me:
svn info "C:\SomeTests\[email protected]@"
more here: How to escape @ characters in Subversion managed file names?
Ok, fine. But when I want to rename or move a file with @-characters. It provides strange results:
with:
svn mv "C:\SomeTests\test.txt" "C:\SomeTests\[email protected]"
I get this filename:
C:\SomeTests\[email protected]
with:
svn mv "C:\SomeTests\test.txt" "C:\SomeTests\[email protected]@"
I get this filename:
with:
svn mv "C:\SomeTests\test.txt" "C:\SomeTests\@myfile.txt"
I get this filename:
with:
svn mv "C:\SomeTests\test.txt" "C:\SomeTests\@myfile.txt@"
I get this filename:
@myfile.txt@
What should I do that it always works? no matter if the @ sign is in the beginning, in the middle or at the end?
(edit: at my present issue the characters are always at the beginning or in second place.)