How to escape @ characters in Subversion managed file names?

For many Subversion operations, appending the ‘@’ symbol to the end of a file or URL argument allows you to target a specific revision of that file. For example, “svn info test.txt@1234” will give information about test.txt as it existed in revision 1234.

However, when the name of the file contains an @, it is incorrectly interpreted by Subversion as a revision specifier:

svn info ‘[email protected]
svn: Syntax error parsing revision ‘.txt’

I’ve tried double and single quotes as well as escaping with “https://stackoverflow.com/”, ‘\’, and ‘@’. How can I tell Subversion to treat the @ symbols as part of the file name?

11 Answers
11

Leave a Comment