On Thu, Apr 15, 2010 at 15:42, David Bartmess <dingod...@edingo.net> wrote:
> I need to modify a script that was used with CVS that basically got a list
> of the files that changed with a specific tag, and acted upon them. Now
> we're moving to Subversion, and I need a way to get a list of files that
> changed with a tag or revision.
>
> Should I just force the developers into using the revision instead of the
> tag? The tag contains every file in that module, so it doesn't help in this
> matter.

svn diff --summarize OLDTAG NEWTAG will list all files that differ
between the two tags. Probably best to use the repository URLs for
both tags.

> And is there a way to get a list of files that changed with a changeset
> (revision) without having to heavily parse the log output?
> I need to list the files that changed in a file to be consumed by another
> process, and the file contents need to be just the filename one on each
> line. Is there an easy way to do this?

svn diff --summarize -r<REVNUM> will give you a listing of all items
changed in the given revision and the nature of the change (add,
modify, etc.).

--summarize was added in 1.5 I think, but it's probably a safe
assumption that if you're switching to SVN today, you're using a more
recent release.

Reply via email to