You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Oren Eini (Murphy & Associates)" <v-...@microsoft.com> on 2008/04/09 01:05:25 UTC

Path parsing bug in svn diff

Using svn 1.4, on Windows, I get the following error when executing this command:
E:\OSS\rhino-tools>svn diff https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build -r HEAD:PREV
svn: Can't check path 'https:\\rhino-tools.svn.sourceforge.net\svnroot\rhino-tools\trunk\default.build': The filename, directory name, or volume label syntax is incorrect.

This, however, works:

E:\OSS\rhino-tools>svn diff https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build -r 1283:1246

RE: Path parsing bug in svn diff

Posted by "Oren Eini (Murphy & Associates)" <v-...@microsoft.com>.
Okay, that makes sense, thanks.

________________________________________
From: dglasser@gmail.com [dglasser@gmail.com] On Behalf Of David Glasser [glasser@davidglasser.net]
Sent: Tuesday, April 08, 2008 6:12 PM
To: Oren Eini (Murphy & Associates)
Cc: dev@subversion.tigris.org
Subject: Re: Path parsing bug in svn diff

On Tue, Apr 8, 2008 at 6:05 PM, Oren Eini (Murphy & Associates)
<v-...@microsoft.com> wrote:
>
>
> Using svn 1.4, on Windows, I get the following error when executing this
> command:
> E:\OSS\rhino-tools>svn diff
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build
> -r HEAD:PREV
>  svn: Can't check path
> 'https:\\rhino-tools.svn.sourceforge.net\svnroot\rhino-tools\trunk\default.build':
> The filename, directory name, or volume label syntax is incorrect.
>
> This, however, works:
>
> E:\OSS\rhino-tools>svn diff
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build
> -r 1283:1246

PREV is the revision before COMMITTED, not HEAD, and thus only makes
sense in the context of a working copy; so it is trying to parse your
URL as a path.

(You'd think you could use -c HEAD here, but it's not actually
implemented; see Issue #3041.)

--dave

--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Path parsing bug in svn diff

Posted by David Glasser <gl...@davidglasser.net>.
On Tue, Apr 8, 2008 at 6:05 PM, Oren Eini (Murphy & Associates)
<v-...@microsoft.com> wrote:
>
>
> Using svn 1.4, on Windows, I get the following error when executing this
> command:
> E:\OSS\rhino-tools>svn diff
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build
> -r HEAD:PREV
>  svn: Can't check path
> 'https:\\rhino-tools.svn.sourceforge.net\svnroot\rhino-tools\trunk\default.build':
> The filename, directory name, or volume label syntax is incorrect.
>
> This, however, works:
>
> E:\OSS\rhino-tools>svn diff
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/default.build
> -r 1283:1246

PREV is the revision before COMMITTED, not HEAD, and thus only makes
sense in the context of a working copy; so it is trying to parse your
URL as a path.

(You'd think you could use -c HEAD here, but it's not actually
implemented; see Issue #3041.)

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org