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

Re: Can SVN only branch and tag at the highest project level?

From: Stefan Sperling <stsp_at_apache.org>
Date: Wed, 6 Dec 2017 13:30:20 +0100

On Wed, Dec 06, 2017 at 07:23:21AM -0500, Nico Kadel-Garcia wrote:
> It's also true that one can just create an entire new branch on the
> Subversion server, cheaply, and check out only the relevant
> subdirectory.

And there's "svn switch", which reduces the initial checkout to a one
time cost because it only transmits deltas.

It works well even if local changes are present in the working copy.

My preferred idiom for using a branch is:

Modify some files in a full checkout of trunk.
"Oh, this should be on a branch!"
$ svn cp ^/trunk ^/branches/newbranch
$ svn switch ^/branches/newwbranch
$ svn commit

Done. And a trunk working copy is just another switch away.
Received on 2017-12-06 13:30:45 CET

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