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

Re: svn diff -r PREV:COMMITTED <file>

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-22 18:24:20 CEST

Sir Woody Hackswell <sir.woody@hackswell.com> writes:

> This works:
> > svn log -r PREV:COMMITTED Makefile.in
> ------------------------------------------------------------------------
> rev 7384: bliss | 2003-10-11 11:16:00 -0400 (Sat, 11 Oct 2003) | 4 lines
> <<SNIP>>
>
> So why doesn't this work?:
> > svn diff -r PREV:COMMITTED Makefile.in
> subversion/libsvn_client/diff.c:1376: (apr_err=200004)
> svn: Incorrect parameters given
> svn: Sorry, svn_client_diff was called in a way that is not yet supported.
> subversion/libsvn_client/diff.c:1749: (apr_err=200004)
> svn: do_diff: COMMITTED nomenclature not supported

There was a complex thread a few weeks back, led by Julian Foad. I
can't remember the rationale here. I admit that it's kind of odd. I
mean, any command that has a wc-item as a target should be able to
talk about PREV and COMMITTED.

If this is a deliberate decision, we better change the example in the
book. The first 'example' in this section won't even run:

   http://svnbook.red-bean.com/html-chunk/ch03s03.html#svn-ch-3-sect-3.2

!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 22 18:27:10 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.