[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot add files which contain '@' in filename

From: Dave Huang <khym_at_azeotrope.org>
Date: Sun, 25 Nov 2012 02:26:23 -0600

On Nov 25, 2012, at 2:11, Nick <nospam_at_codesniffer.com> wrote:

> It seems like files with the '@' character in the name cannot be added to a repo. I've verified this in two different repos using SVN version 1.6.17.

> Is this a bug?

No, it's sort of hidden, but it is mentioned in the documentation:

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_at_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_at_11@.

http://svnbook.red-bean.com/en/1.6/svn.advanced.pegrevs.html

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 37 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
Received on 2012-11-25 09:27:16 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.