[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: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Tue, 5 Jan 2010 17:21:21 -0600

On Jan 5, 2010, at 13:32, Bob Archer wrote:

>> 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".

If you really do want a local repository, then that's what svk does, so you can look into that:

http://svk.bestpractical.com/
Received on 2010-01-06 00:22:04 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.