svn diff -r WORKING:HEAD
From: Kyle McKay <mackyle_at_tigris.org>
 
Date: 2007-03-19 21:26:38 CET 
How does one get the equivalent of svn diff -r working:head output?
 There doesn't seem to be a way.
 Consider the following:
 Foo.txt Revision 1:
 Line 1
 Foo.txt Revision 1 is checked out and the working copy of Foo.txt is  
 Line 1
 Meanwhile, elsewhere Revision 2 is checked in with Foo.txt Revision 2:
 Line 1
 Now for the purposes of this discussion, svn diff is being executed  
 "svn diff" produces:
 Index: foo.txt
 "svn diff -r HEAD" produces:
 Index: foo.txt
 "svn diff -r BASE:HEAD" produces:
 Index: foo.txt
 But really, the output I want to see is this (which is the set
 Index: foo.txt
 And there doesn't seem to be any way to generate that.  That seems to
 One obvious way to fix it is to add this sequence:
    else if (strcasecmp(word, "working") == 0)
 to the revision_from_word function located in libsvn_subr/opt.c file
 Would it be possible to get an issue opened for this so that it can  
 Thanks,
 Kyle
 ---------------------------------------------------------------------
  | 
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.