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

Re: Placing tag messages in trunk

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-06-23 07:14:53 CEST

Michael W Thelen wrote:

>* Toby Johnson <toby@etjohnson.us> [2004-06-22 22:39]:
>
>
>>The problem with this is that I can't easily go to /trunk a year from
>>now, and find out how file /trunk/foo.c changed from tag "1.0.1" to
>>"1.0.2", since the commit messages from creating the tags only show up
>>in a "svn log" of /tags, not of /trunk. The best approach I see is to do
>>a log of /tags, find out the revision numbers for the 1.0.1 and 1.0.2
>>tags, then do a diff on /trunk/foo.c using the explicit revision numbers
>>obtained. This is rather unwieldy, especially using TortoiseSVN.
>>
>>
>
>If I understand correctly, can't you just do this?
>
>svn diff /path/to/repos/tags/1.0.1/foo.c /path/to/repos/tags/1.0.2/foo.c
>
>
No, that doesn't work, unless maybe you use full URLs. (Of course, your
example would work with a regular "diff" program, which unfortunately
isn't standard on Windows).

>Or do you want to look at the actual log messages between 1.0.1 and
>1.0.2? In that case, you may have to find out the revision in which the
>1.0.1 tag was created, but you don't need to know when 1.0.2 was
>created. Do something like this:
>
>svn log --stop-on-copy /path/to/repos/tags/1.0.1/foo.c
> (to find out the revision when 1.0.1 was created)
>svn log -rN:HEAD /path/to/repos/tags/1.0.2/foo.c
>
>
That doesn't work either, because tag "1.0.2" didn't yet exist at
revision "N".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 23 07:16:06 2004

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