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

svn diff --summarize vs. svn log

From: Bob Kuo <bob_at_marcelmedia.com>
Date: Mon, 12 May 2008 13:20:04 -0500


I am in the process of writing a script that will one-way sync from a
repository to an FTP server. The idea is that multiple users would make
changes on the repository, and when we wanted those changes on the server,
we would run the script. We would get a list of changes made since the last
revision that was uploaded and then set the ftp client to upload each one of
those changes.

As far as I can tell, there are two ways to get a list of changes between
two revisions: svn diff --summarize and svn log. The problem with svn log
is that it doesn't summarize, that is, a file edited across multiple
revisions will show up multiple times in the log. The problem with svn diff
--summarize is that it doesn't track files that have been moved.

Is there a good way to get this summary information that will track files
that have been moved?


Bob Kuo
Marcel Media
Tel:  312.255.8044 x238
Fax: 866.643.7506

Sign up for Marcel Media's Newsletter!

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-12 20:20:55 CEST

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.