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

Re: How to compare with the previous version.

From: Jacob Atzen <jacob_at_jacobatzen.dk>
Date: 2006-09-04 17:25:19 CEST

On Mon, Sep 04, 2006 at 04:37:21PM +0200, Zsolt wrote:
> Hi,
>
> I use svn diff from an application. Unfortunately only the current revision
> number is available (for example 8). How do I have to use svn diff to
> compare the current version (for example 8) to the previously committed
> version (that might be 7 or 6 etc.).

For differences between revision 6 and 8 of foo.c do:

        svn diff -r 6:8 foo.c

-- 
Cheers,
- Jacob Atzen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 6 22:37:19 2006

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.