-----Original Message-----
From: Wade Williams [mailto:wadesworld@mac.com]
I'd like to be able get a list of files that were changed between say
the trunk and a particular tag.
---------------------------------------------------------------------
It's a fairly standard trick. First, set up a diff to get the files, but
use /bin/true as the diff program, so the output is, more or less, just a
lit of the files in question: "svn diff --diff-cmd=diff
http://.../trunk@HEAD http://.../branch/1234@HEAD" (I may have the syntax a
bit wrong.) Then post-process the output to get a list of the file names
that have changed. Second, do an export of the branch in question. Third,
zip up the selected files from the export to generate your overlay
distribution.
You could probably improve this by using a more sophisticated comparison
that reports whether the files differ in content, rather than the method
above, which will be deceived by situations where the same change has been
done on both the trunk and the branch. You could use "diff --brief" or
"cmp" to compare the two input files, and output "different" or "same" based
on their outcome.
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 7 23:42:56 2005