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

Re: Determine files that have changed between revisions

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-05-10 18:39:08 CEST

Ray Johnson wrote:

>
> How do I simply get a list of files that have changed between two revisions.
>
> This kind of does the trick:
> svn diff -r 24:28 http://svn/KeenDev/trunk/sample/foo
>
> However, it also display's all the actual diff info. I'd kind of like
> a -q (--brief) option equivalent to that found in gnu diff.
>
> I can almost get there by doing something like this:
> svn diff -r 24:28 http://svn/KeenDev/trunk/sample/foo | grep Index:
>
> However, this is a bit slow when some of the diffs are large. I also
> have to strip out the Index: stuff before I can pass the list to
> something like xargs.
>
> Anyway, I'm bringing this up in case I missed something (it is Monday
> morning after all. :)
>
> Otherwise, I'd certainly like to request the feature of adding a --brief
> option to the diff command...

$ svn log -v -q -r 24:28 http://svn/KeenDev/trunk/sample/foo

The -v tells the log output to include the changed paths information, -q
tells it to supress the actual log message.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 10 18:40:10 2004

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.