You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Se...@mapinfo.com on 2004/02/27 21:04:06 UTC
How do I tag a module in subversion?
It is my understanding that subversion externals replace cvs modules, and
svn copy replaces cvs tag.
In cvs, I have created a module with one application and 3 components the
application depends on.
In svn, I have duplicated this by referencing the 3 components as
externals.
In cvs, I could just tag the root of the moudle, and I would get a
snapshot in time of the application and 3 components.
In svn, the "svn copy" command only gives me a snapshot of the
application, the 3 components (using externals) still refer to HEAD.
I realize that I could just change each of my externals definitions to
refer to the current revision every time I want a tag,
but it seems to me that there should be a way to make this as easy to do
as it is in CVS.
Can anyone tell me what I should be doing here?
The structure I am trying to achieve looks like this:
components
c1
trunk
c2
trunk
c3
trunk
applications
a1
trunk
source
externals
c1 (-rHEAD components/c1/trunk)
c2 (-rHEAD components/c2/trunk)
c3 (-rHEAD components/c3/trunk)
tags
release-1.0.0
source
externals
c1 (-r20 components/c1/trunk)
c2 (-r20 components/c1/trunk)
c3 (-r20 components/c1/trunk)
And here is the command I use:
c:\svn_source\applications\a1>svn copy trunk tags/release-1.0.0
What I want is the copied externals to switch from HEAD to the current
revision (20 in the example).
What happens is that the externals remain at HEAD.
========================================
Sean Shubin
MapInfo, Predictive Analytics
Newport Beach, CA
(949) 885-4926
Re: How do I tag a module in subversion?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-02-27 at 15:04, Sean_Shubin@mapinfo.com wrote:
> Can anyone tell me what I should be doing here?
No, unfortunately, you've just perfectly described the one weakness in
svn:externals... it lacks the 'tagging' feature you want.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How do I tag a module in subversion?
Posted by Daniel Schlyder <da...@bitblaze.com>.
Sean_Shubin@mapinfo.com:
> What I want is the copied externals to switch from HEAD to the current
> revision (20 in the example).
> What happens is that the externals remain at HEAD.
Looks like issue 1258 to me:
http://subversion.tigris.org/issues/show_bug.cgi?id=1258
Kind regards,
Daniel Schlyder
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org