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

RE: Folder names with @ symbol

From: David Balažic <david.balazic_at_comtrade.com>
Date: Thu, 25 Nov 2010 19:07:03 +0100

Ken M wrote:

> Hi. I recently read/learned that the @ symbol has a special meaning in
> subversion (which I don't quite understand yet). However, is there a
> way for TortoiseSVN to ignore this special meaning?
>
> For instance, in Matlab a folder containing the code for a class
> starts with an @ symbol. For example, folder named @FooBar contains
> file FooBar.m and other .m files for the varios methods.
>
> If I try to move this @FooBar folder to a different location within
> the SVN repo it seems to cause problems (it doesn't seem to move).
> How can I get SVN to ignore the @ character in the folder name and
> treat it like any other folder?

Some quick googling turned up this:
http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html

--quote--
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@. 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@.
--end-quote--

But this is for using the command line, if you use a GUI, then this is not the users
responsibility. I guess this is a bug in TSVN repo browser (if that is where
you tried to move it).

Regards,
David

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2685690

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-25 19:07:17 CET

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

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