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

Re: possible bug with @ in directory name

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sun, 15 Feb 2009 08:47:14 +0100

On Sat, Feb 14, 2009 at 08:43, Bassam Tabbara <bassam_at_symform.com> wrote:
> I'm using VisualSVN 1.6.3 server with Collabnet 1.5.5 SVN client. The
> following seems to fail:
>
>
>
> mkdir abc@
>
> svn add abc@
>
> mkdir abc@\def
>
> svn add abc@\def
>
> copy c:\windows\notepad.exe abc@\def\ #add any binary file here
>
> svn add abc@\def\notepad.exe
>
>
>
> The last command fails with the following error:
>
> svn: Can't open file '.svn\tmp\props\abc@\def\notepad.exe.svn-work': The
> system cannot find the path specified.
>

The final @ in a path is understood as introducing a peg revision.
This has come up before. I couldn't find the thread I'm remembering,
but this snippet explains it pretty well:

On 2008-05-12, Karl Fogel wrote:
>
> Hmmm. The way we quote an '@'-sign in a path is by putting a blank
> peg rev at the end, for example:
>
> /path/to/a/file/with/a/real/@sign
>
> would be escaped like this:
>
> /path/to/a/file/with/a/real/@sign@

// ben

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1163219

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-15 08:48:38 CET

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