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

Re: doing a diff between the trunk and a tag

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-08-19 11:54:26 CEST

On Monday 18 August 2003 23:22, Wesley J Landaker wrote:
> Hi folks,
> I've been using subversion for a while now, and I really like it. =)

Me too! :-)

> There is one thing that came up a bunch today a few times while I was
> trying to view some changes between various tags, and I wonder if there
> is a good way to do it that I'm missing:
> In CVS, if I had TAG1 and TAG2, and I wanted to see what changed between
> them, I'd say:
> cvs diff -rTAG1 -rTAG2
> So in subversion, if I have:
> /trunk
> /branch/tag1
> /branch/tag2
> I basically wanted to do:
> svn diff --old branch/tag1 --new branch/tag2

It appears that the way you typed this that branch/tag1 and branch/tag2 are in
your working copy. That's probably not the case.

You could do this though:

svn diff --old=http://my.svnrepo.com/branch/tag1 \

This would perform a diff between HEAD revisions of each branch in the repo.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 19 11:53:18 2003

This is an archived mail posted to the Subversion Users mailing list.