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

Re: M7: Branches and Tags

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-15 01:30:11 CET

Bruce Atherton <bruce@callenish.com> writes:

> At 04:31 PM 11/13/2001 -0600, Ben Collins-Sussman wrote:
> > cd top/of/my/wc
> > svn cp . http://foo.com/repos/project1/tags/milestone-6
>
> If I understand you correctly, though, if you want to move a tag deep
> in your wc, you have to do something like this:
>
> cd top/of/my/wc/some/really/deep/directory/path/I/am/using
> svn cp
> .
> http://foo.com/repos/project1/tags/milestone-6/some/really/deep/directory/path/I/am/using
>

Nope, I think you're confused.

If I want to tag some really deep directory in my working copy, I
don't need to cd in there at all. It's optional. I can just specify
the deep wc path as the first argument to 'svn cp', or I can cd in and
specify '.' as the first argument. There's no difference.

Secondly, I can "copy" my wc directory to any location I want on the
server. The 2nd argument can be any old URL I want, shallow or deep.
It just depends on how I've laid out the server. Remember, a tag is
just an ordinary directory in the repository filesystem -- it could go
anywhere. (If this is news to you, read the design spec, or the end
of the "SVN for CVS users" doc.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:48 2006

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