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

Re: @ sign in folder/file/url and revision parser

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2007-03-02 18:47:21 CET

On Fri, 2 Mar 2007 14:34:27 +0100 (CET), "Rajko Albrecht"
<ral@alwins-world.de> wrote:

>vn info /tmp/testco/trunk/test%40mathlabsyntax
>/tmp/testco/trunk/test%40mathlabsyntax: (Not a versioned resource)
>
>svn info /tmp/testco/trunk/test@mathlabsyntax/
>svn: Syntax error parsing revision 'mathlabsyntax'

Quite right; My mistake, you don't want to URL encode a local file
spec. However, if you specify a peg revision, then the problem seems
to go away:

C:\wc\test>svn info foo@bar@HEAD
Path: foo@bar
URL: file:///C:/DOCUME~1/thomasgd/LOCALS~1/Temp/svn-test/test/foo_at_bar
Repository Root: file:///C:/DOCUME~1/thomasgd/LOCALS~1/Temp/svn-test
Repository UUID: b23aa429-75ed-234e-9f90-6413230eb2eb
Revision: 2
Node Kind: directory
Last Changed Author: thomasgd
Last Changed Rev: 2
Last Changed Date: 2007-03-02 17:41:26 +0000 (Fri, 02 Mar 2007)

(on Win32, at least).
So, if you specify a PEG revision, it appears you can have a filename
with an '@' in it.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 2 18:47:54 2007

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.