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

RE: working with multiple svn branches

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 5 Jan 2010 14:32:09 -0500

>On Tue, Jan 5, 2010 at 8:00 PM, Bob Archer <Bob.Archer_at_amsi.com> wrote:
>>>Which is the best way to work with multiple svn branches (say 10) ?
>...
>> I assume you mean "working copy" rather than "local repository"???
>> IF so, it's a matter of preference. I prefer to have each branch
>> checked out individually rather than using the switch command. But YMMV.
>
>svn switch is exactly what I need.
>
>Is it possible to create "local svn repository" (not "working copy"
>here) for few svn branches in my desktop ? I don't want entire branch
>from version 1-1000 in my local svn repository, but just head, as I
>always (so far) work with head version. Whenever needed I can first
>update (?) this local svn repository from central svn repository, and
>then update / switch my devenv from here, before doing complete build.

Sorry.. there is only 1 repository. You don't have a remote and a local repository. When you do a check out (create a working copy) you only will get the head revision).

You can checkout only 1 branch though... you realize you don't need to check out the full repository right?

>is this preferable approach when compared to "svn switch" directly
>from central svn repository ?

This is what I do, I check out trunk and each branch I am working out separately. I personally don't like switch because it is easy to forget which branch you are switched to.

I'm not sure if you understand the difference between a repository and a working copy. I think if you had a clear understanding of each you wouldn't say you want a "local repository".

BOb
Received on 2010-01-05 20:36:14 CET

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

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