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

Re: question about -N checkouts

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-02-16 15:13:11 CET

Clemens Schwaighofer wrote:
> I have a repository directory that holds three dirs
> foo/bin
> foo/sql
> foo/www
> I only want to checkout bin and sql and not www. So I do
> $> mkdir foo
> $> cd foo
> $> svn co -N svn://server/foo/ .
> $> svn co svn://server/foo/bin
> $> svn co svn://server/foo/sql
> but if I now type svn info in foo directory I get this
> $> svn status
> ? sql
> ? bin

The problem is that the workingcopy 'foo' doesn't know anything about the two
dirs it contains, because those were checked out independently. What I think
you should do is checkout foo, and then inside foo 'svn update' the parts you
want. Also, your first checkout is more complicated than necessary.


$> # checkout foo dir (I think the last foo is implicit)
$> svn co -N svn://server/foo foo
$> # update some of the contained dirs
$> cd foo
$> svn update bin sql

> Is this because I didn't do a recursive checkout and the foo .svn dir
> doesn't know about them?

I think we both guessed right, but to be honest, I haven't tested it.

good luck


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 16 15:14:44 2005

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.