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

Re: sequence "/@" in file path causes failure - Subversion bug?

From: B. Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Tue, 26 May 2009 10:14:48 +0200

On Tue, May 26, 2009 at 09:45, Andreas Schweigstill
<andreas_at_schweigstill.de> wrote:
> Hello!
>
> B. Smith-Mannschott schrieb:
>> This is not a bug. When Subversion sees the last (or only) "@" in a
>> path, it expects what follows to be a peg revision. The escaping
>> mechanism for paths containing "@", where you don't want to specify a
>> peg revision is to terminate the path with "@":
>>
>> /trunk/@somefile@
>
> But that's what Marian already did:
>  >> Appending an extra at sign to the end of the path does not help:
>  >>
>  >>      $ svn add 'dir/@File.txt@'
>  >>      svn: warning: 'dir/@File.txt@' not found
>  >>
>  >> Now the slash was maintained but the trailing at sign was maintained,
>  >> too, which makes the path invalid.
>
> The big difference is that Marian specifies a path in the WC, not in
> the repository.

Ah! you're quite right! I didn't read the the original message
carefully enough. Eager greedy pattern recognition strikes again.

// Ben

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2353708
Received on 2009-05-26 10:15:16 CEST

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