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

Re: Philosophical question: Tagging & Structure

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Fri, 3 Jul 2009 15:57:00 -0500

On Fri, Jul 3, 2009 at 10:27 AM, Johan Corveleyn <
johan.corveleyn_at_uz.kuleuven.ac.be> wrote:

> > Tags in Subversion, from my investigation need 2 major
> > improvements. Tags in Subversion shouldn't be simple "copies". I
> > should be able to only tag a specific part of a hierarchy in the
> > repository, much like you would use sparse checkouts. For example,
> > in the root of the repository you may have 5 directories: Project1,
> > Project2, Project3, Library1, Library2. I should be able to only
> > tag Project1, Library1, and Library2. Project2 and 3 would not be
> > in the tag (This would be a sparse tag).
>
> Like I said, this is possible, because "svn copy" takes multiple source
> arguments (which can be all URLs):
>
> svn cp <url>/Project1 <url>/Library1 <url>/Library2 <target>
>
> Where <target> is e.g. <url>/tags/releases/Project1/1.0 or something like
> that.
> No working copy needed, you have a "sparse tag"
>
> Ok, it's still a copy, but you only copied (tagged) the stuff you need.
> You can even copy (tag) the Libraries from a certain peg revision
> (<url>/Library1_at_123), or from a branch, or from another tag where only the
> Library was tagged, ...

Apologies, I use TortoiseSVN to interface with Subversion. I thought there
was an "svn tag" command or something like that. Seems a bit easier to
create tags for this case using the SVN client instead of TortoiseSVN. I'm
sure TSVN can do this, I'll just have to look at it. But you make a good
point, thanks.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367882

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-03 22:57:54 CEST

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.