opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@subversion.tigris.org 9 March 2008 • 8:45AM -0400

Solution to "svn: Syntax error parsing revision..." using svn+ssh
by John Linwood Griffin

REPLY TO AUTHOR
 
REPLY TO GROUP






This problem drove me crazy, and the solution is so simple that I wanted
to send it to this list for potential inclusion in the SVN FAQ.

If you use the svn+ssh access method and try to check out the root of a
repository, you get this error:

    % svn co svn+ssh://user@exam.../
    svn: Syntax error parsing revision 'example.com'

The solution is to add another @ symbol on the end of the URL, which
tells subversion not to treat the first @ as the revision signifier.

    % svn co svn+ssh://user@exam.../@

To get a subdirectory of the root put it before the new @:

    % svn co svn+ssh://user@exam.../subdirectory@

You'll probably want to specifically specify a path for the local
directory, otherwise your repositroy will get checked out into the
directory "user@exam...":

    % svn co svn:ssh://user@exam.../@ localdir

JLG

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subv...
For additional commands, e-mail: users-help@subv...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.