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

Re: [Subclipse-dev] [OT?] Tagging and repository layout

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-04-27 20:59:37 CEST

Daniel Serodio <dserodio@mandic.com.br> wrote on 04/27/2005 02:40:42 PM:

> If I want to tag the trunk of a "foo" project with tag "RELEASE_1", I
> should do:
>
> svn cp "http://.../foo/trunk" "http://.../foo/tags/RELEASE_1"
>
> But this creates /foo/tags/RELEASE_1/trunk
> I expected to copy what is "inside" trunk, not the trunk directory
> itself. Am I doing something wrong?

Yes. This trips up a lot of people until you get used to it. Your
problem is that the RELEASE_1 folder already existed in the repository. If
it didn't exist, and you let the tag operation create it, then it would
have done what you want.

Just to head off any additional questions, this is a Subversion issue not
Subclipse. We are just issuing the copy command as you showed.

Apparently if you were to do a similar copy command on a Unix file system
you would get similar results and that is why it works the way it does.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Apr 28 04:59:37 2005

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.