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

svn -r PREV:5617 URL does not work ?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-04-24 04:46:53 CEST

Hi !

Here's what I ran:
D:\>svn --version
svn, version 0.20.1 (r5467)

D:\>svn diff -r PREV:5617 http://svn.collab.net/repos/svn
svn: A path under revision control is needed for this operation
svn: svn_client__get_revision_number: need a version-controlled path to
fetch local revision info.

Should this be happening ? Is SVN complaining that it can't find a WC
from which to find the previous revision ?

I had no WC checked out. I believed that SVN would just assume the
previous revision where the path had been modified. When I ran:
D:\>svn diff -r 5616:5617 http://svn.collab.net/repos/svn

I received the diff, as expected.

I also tried to execute the first command while inside a WC, and it did
not work, reporting the same error. If I run the same command, but
without the URL, it executes flawlessly.

This was all run on WinXP, pre-SP 1.

Thanks !
Francois

--
  Francois Beausoleil
  Developer of Java Gui Builder
  http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 04:47:39 2003

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.