On Feb 7, 2005, at 2:39 PM, Dale Worley wrote:
> -----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
How about someone just adding a command to svn to allow one to do it
easily?
Maybe something like...
svn diff --result=changedfiles URL1 URL2
I dunno...just a suggestion...
jon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 8 19:52:26 2005