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

RE: svn diff --brief

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-09-23 20:34:02 CEST

this would be the SVN equivalent of 'cvs rdiff -s' (summarized output) which is something I would love to see added ...

-----Original Message-----
From: Ray Johnson [mailto:Rayj@ingenio.com]
Sent: Thursday, September 23, 2004 2:14 PM
To: users@subversion.tigris.org
Subject: svn diff --brief

 
I often need to compare branches to determine what files have changed. The "svn diff" command basically does this. However, it is somewhat difficult to use that to construct a list of the files that have be modified, added or deleted.
 
It would be really nice if there was a "svn diff -q" or "svn diff --brief" command akin to the same option in gnu diff. This just reports the files that have changed. So you would get something like:
 
svn diff -q http://svn/MyCode/branch/branch23 http://svn/MyCode/trunk
 
that would return something like:
M src/www/index.html

M src/www/index.html

A src/www/newproduct.html

D src/www/help.html
etc.
 
This command could be much more efficient as the entire diff would not have to be generated and sent from the server for each file.
 
Is this something others would find useful as well? Is such a feature request already being considered for some future version?
 
Ray
Received on Thu Sep 23 20:34:57 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.