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

RE: Getting list of files that changed between revisions

From: McKenna, Simon (RGH) <Simon.McKenna_at_rgh.sa.gov.au>
Date: 2005-08-04 05:25:20 CEST

Hi Kyle,

-> Essentially what I'm hoping to have is create a tag from the
-> trunk for the build, say, build my assemblies and then
-> have a third party script (nant, ruby, etc) that determines exactly
-> which files (binaries excluded) that have changed, at the same time
-> ignoring non web files such as .cs, .resx, etc.
-> The next time I have to make a build I'd create a new tag
-> ( and compare the files that changed between the
-> tags and repeat the process above.

Not sure what the most efficient/easiest way to tackle it would be,
but a few ideas:

Loop from the starting revision (last tag) to end revision (current tag),
and for each revision run 'svnlook changed', building up a list of changes,
removing duplicates and filtering any irrelevant changes as you go.

Or export the starting revision (last tag) and end revision (current tag)
to separate temporary working copies and compare them using a diff tool,
then any filter irrelevant changes if needed.

Either approach should work, the later probably more efficient if the gap
between tag revisions is wide.

If you go with NAnt, feel free to email me (off-list) if you want help.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 4 05:31:30 2005

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.