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

Re: Newbie alert: Cheap copies for tags/branches-HOW?

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2002-02-18 14:29:18 CET

On Mon, Feb 18, 2002 at 05:05:03PM +0800, Richard CHAN Shih-Ping wrote:
>
> Folks,
>
> The documentation says to lay out my project like
> project/trunk
> project/tag
> project/branch
>
> When trunk is taggable how do you actually make a "cheap copy" or
> "clone" in the repo? Is this a server-side action or something you do in
> your working directory (and them commit)

Can be either.
>
> Do I copy in my working directory and then commit?
>
> Like
>
> cd project/
> svn copy trunk tag/BETA1
> svn commit

This will work, but you could also do:
$ svn copy http://yourhost.com/your/repos/trunk
    http://yourhost.com/your/repos/tags/BETA1

which will perform the operation on the server side, and commit in one step.
>
> or is there a magic svn server-side command?
>
> Thanks!
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:37:08 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.