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

Re: I miss tags

From: Stefan Haller <haller_at_ableton.com>
Date: 2004-09-24 08:57:40 CEST

Peter Valdemar Mørch <swp5jhu02@sneakemail.com> wrote:

> This answer is correct for diff. What I often find myself wanting is
> some way to do the same for svn log. "What has happened since release21"?
>
> The svn book uses `svn log --stop-on-copy` to see what revision the tag
> was based on.

Just one thing to watch out for: the problem with --stop-on-copy is that
it always stops at the *first* copy, which may not always be the one you
want.

For example, suppose you create a tag, then you realise that there's a
spelling error in the tag's name, and to fix that, you "svn mv" the tag
to the correct name.

Another example: you create a release tag, then you notice that there's
one more bug to fix for that release, so you move the tag over to
branches and continue working there.

In both cases, --stop-on-copy won't help you figure out where the tag or
branch is rooted at. (Maybe --stop-on-copy could have an optional
parameter, defaulting to 1, to stop at the nth copy?)

I guess the easy way to avoid these problems is never to move tags.

-- 
Stefan Haller
Ableton
http://www.ableton.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 24 08:58:17 2004

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