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

Re: Bug: IP address bogusly interpreted as peg revision

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Fri, 23 May 2008 22:32:01 +0200

On Fri, May 23, 2008 at 09:17:50PM +0100, Julian Foad wrote:
> Jens Seidel wrote:
> >I noticed the following bug in the 1.5 branch:
> >A IP address may bogusly interpreted as peg revision as demonstrated by
> >
> >$ svn log svn+ssh://svn@10.0.1.1
> [...]
> >svn: Syntax error parsing revision '10.0.1.1'
>
> That's unfortunate, but not a bug. It's a natural consequence of defining

Not a bug? OK, I trust you. But a workaround should not be difficult.

> the command-line syntax as
>
> PATH-OR-URL[@PEG]

Never considered this as strong syntax definition.

> There are various work-arounds: the canonical way to "escape" an argument
> with no peg revision is to add an "@":
>
> $ svn log svn+ssh://svn@10.0.1.1@
>
> but in this particular example you might prefer to end the URL with "/":
>
> $ svn log svn+ssh://svn@10.0.1.1/

No, this leads to the same error.

I just asked to get the permission to file a bug. I didn't assumed the
behaviour could be accepted but it is indeed not a big deal so it is OK
for me.

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-23 22:33:43 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.