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

Re: gcc source management requirements

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-12-10 20:06:11 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With Subversion, it's even easier than that:

$ svn cp -r 754 http://.../trunk http://.../branches/helen/
$ svn switch http://.../branches/helen/ .
$ svn commit -m "..."

The switch command will replace the checkout and copy of the working copy for
the branch, and it will also preserve local mods. The commit will be made to
the branch.

Technically, the switch command merges the branch into the current directory,
so if someone had committed their own changes to the branch, those would be
merged as well (although that couldn't really happen in this use-case).

On Tuesday 10 December 2002 05:10, Ketil Z. Malde wrote:
> svn cp -r754 http://.../trunk http://.../branches/helen/
> svn co http://...branches/helen/ my_branch
> cp -a trunk/ my_branch/
> cd my_branch/
> svn commit -m ".."

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE99jskhDAgUT1yirARAqf+AJwNKjsQYbTPndctuKx8brzTej3RogCdG739
PYWB1sTtgc6pkjh/sKlh0rE=
=TPpu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 10 20:06:57 2002

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.