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

Re: svn -r PREV:5617 URL does not work ?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-24 14:51:10 CEST

"Francois Beausoleil" <fbos@users.sourceforge.net> writes:

> 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 ?

Essentially, yes, that's the problem. PREV does in fact mean "the
last revision in which the object changed", but it gets that
information by examining the entry of a wc object. In other words, at
the moment, PREV, BASE, and COMMITTED must all be used on wc objects.

Maybe we could file an enhancement... certainly we could do an extra
network round trip to discover the last-changed-revision of a URL.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 14:52:51 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.