* Toby Johnson <firstname.lastname@example.org> [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
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
where N is the revision number you found out in the first step. That
may not be much help, but at least it's only one revision number lookup
instead of two.
Michael W. Thelen
Don't throw away the old bucket until you know whether the new one holds
water. -- Swedish proverb
Received on Wed Jun 23 07:01:31 2004