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

svn diff --brief

From: Ray Johnson <Rayj_at_ingenio.com>
Date: 2004-09-23 20:14:23 CEST

 
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:14:44 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.