[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: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 3 Jul 2009 17:27:15 +0200

> 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, ...

Johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-03 17:28:50 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.