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

Re: Question regarding showing diffs..

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-02-23 19:29:43 CET

Glenn E. Sieb wrote:
> We're running Subversion 1.1.1 on MacOSX 10.3.
>
> We're wondering (we're all pretty new to Subversion) how to do the
> following:
>
> Show a list of all changed files between two revisions of the same
> branch/tag/trunk/whatever.
>
> Something like "I'd like to see the changes between revision 1408 and
> 1593 in branches/r2.0 in a repository"
>

   Something like:

     svn diff -r1408:1593 URL:/repos/branches/r2.0 | \
       grep 'Index:' | cut -f 2- -d ' '

   will do the trick (replace the appropriate syntax for diffing
   trunk to tags, tags with each other, etc).

   However, that's not quite "what changed between two revisions" (1),
   that's "what's different between two revisions". To answer (1), you
   would really use "svn log -v" to see what was touched on a branch
   and what changes were made (i.e. a diff misses an add-then-remove,
   the end effect of which is a no-op, but you might want to know that
   it happened, depending on what you're trying to report on).

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 23 19:33:36 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.