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

Re: delete tags and branches

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-10-10 19:19:14 CEST

Craig White wrote:
> I thought I was pretty solid but found a problem. I had already run
> 'svn copy' to both a stable tag and to a new development branch but
> actually had to make some changes in my trunk which are now committed.
>
> I would love to delete $REPOS/tags/release-2.0 and
> $REPOS/branches/phase5 but 'svn delete $REPOSE/tags/release-2.0' simply
> won't work.
>
> $ svn delete $REPOS/tags/release-2.0
> svn: Could not use external editor to fetch log message; consider
> setting the $SVN_EDITOR environment variable or using the --message (-m)
> or --file (-F) options
> svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is
> set, and no 'editor-cmd' run-time configuration option was found
>
> Do I just fahgettaboutit and copy to release-2.01 and make another
> branch or is it possible to delete a tag and branch completely?

If you don't want to set up an interactive editor as it suggests, just
add -m "your message here" to the command line. You'll need to do this
for just about every operation that affects the repository.

Yes you can delete the tag/branch, but be aware that you only delete it
from the head view of the repository and you could still check this old
version out by specifying a revision number that included it. You
might, especially on the branch copy, prefer to merge in the changes
from the trunk instead of doing the delete and copy.

-- 
  Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 10 19:21:15 2007

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.