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