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

Re: svn log "@" character

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 11 Aug 2008 12:36:23 -0400

"Omar, Mahmoud" <Mahmoud_Omar_at_mentor.com> writes:
> I have a file named ?mux_aadd_at_r.bd?
> When I try to run this command ?svn log mux_add_at_r.bd?, I get the following
> error:
> svn: Syntax error parsing revision 'r.bd?
> After reading a little in the user guide I realized that one of the
> forms of the log command is to take a revision preceded by @.
> As far as I understand, Subversion tries to parse the characters after
> the @ as revision and hence it fails of course since he doesn?t have a
> valid revision.
> Does anyone have a workaround for this? Please let me know of any
> suggestions you might have or if I am missing anything

Put an extra "@" at the end of the filename. Subversion always
interprets the last (rightmost) "@" in a path as the beginning of a
revision specifier; and if there is nothing after the "@", then it is
considered an empty revision specifier, and hence has no effect.

So when a path already has an "@" in it, the way you work around it is
to add an "@" to the end when invoking commands directly on that path.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-11 18:36:51 CEST

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.