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

List files that were changed between two branches

From: Paul Austin <mail-lists_at_revolsys.com>
Date: 2006-03-22 21:05:10 CET

I have a requirement to list all the files that have changed from one
version of the application and the next. Each version of the application
has a tag for the release (e.g. tags/1.1.3).

What I would like is a command where I could get a list that shows the
files that were changed, those that were added and those that were
deleted. Here is my simple solution to the problem. Unfortunately I
found out today that I get different results if I swap the source and
target tag arguments.


REPOSITORY=<url to repository>

svn diff $REPOSITORY/$APP/$VER1 $REPOSITORY/$APP/$VER2 | grep Index: | awk '{ print $2} '|sort

I think what would work is if the svn switch command had a pretend
option so it showed the changes but did not actually do the switch.

Any thoughts on how to do this? Or if SVN itself could be extended to
add this functionality.

Received on Wed Mar 22 21:06:04 2006

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.