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

Re: Path parsing bug in svn diff

From: David Glasser <glasser_at_davidglasser.net>
Date: Tue, 8 Apr 2008 18:12:16 -0700

On Tue, Apr 8, 2008 at 6:05 PM, Oren Eini (Murphy & Associates)
<v-orene_at_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_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-09 03:12:28 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.