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

Re: Adding changeset-like functionality to subversion

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-09 01:40:34 CEST

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> it's certainly easy to do that if one has a working copy, but does
> anyone know of a way to do it without one?
>
> svn diff -r1000:PREV http://svn.foo.com/repos/trunk/blah
>
> errors out because you can't call svn_client__get_revision_number on a
> URL, and

Right. Read the second use case in 'svn help diff':

  svn diff http://svn.collab.net/repos/svn/trunk/README@1 \
           http://svn.collab.net/repos/svn/trunk/README@3000

...works just fine, no working copy required.

Also, I don't know what's wrong with your svn, but the first use-case
works perfectly for me as well. No working copy needed:

  svn diff -r1:3000 http://svn.collab.net/repos/svn/trunk/README

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 9 01:43:16 2002

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.