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
Received on Fri Feb 27 22:05:44 2004