Hi Karl
I tried it and it works fine.
Thanks a lot for your help
Mahmoud
-----Original Message-----
From: Karl Fogel [mailto:kfogel_at_red-bean.com]
Sent: Monday, August 11, 2008 7:36 PM
To: Omar, Mahmoud
Cc: users_at_subversion.tigris.org; Raslan, Waseem
Subject: Re: svn log "@" character
"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.
-Karl
---------------------------------------------------------------------
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-13 01:48:59 CEST