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

Re: svn diff - Is this behaviour expected?

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Sun, 15 Aug 2010 00:01:29 +0200

On 2010-08-14 04:05:17 +0100, chris0_at_lavabit.com wrote:
> Is this expected/desired? Should I create a new issue? (I couldn't
> find anything similar.)
> Is there a consistent (backwards & forwards compatible) syntax I can
> use?

I have the same problems at least on the cases without -r.
This doesn't match the description of "svn diff" in the book:

  http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.ref.svn.c.diff

Conversely, when blah has been added, but not committed,

  svn diff -rBASE blah

gives a diff instead of an error (indeed an error is expected because
blah_at_BASE doesn't exist, as this can been seen with "svn cat blah").

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Received on 2010-08-15 00:02:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.