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

Strange behaviour on partial checkouts

From: Georg Viehöver <viehoever_at_sigma-c.com>
Date: 2005-03-22 10:54:13 CET

 

 I have a source tree in my repository that is shared among multiple
projects . It looks like this:

 

sources/common

sources/project1

sources/project2

 

Now I want to work with project1 , and want only those sources that are
important for me, so I try

 

svn checkout svn://name/my_repository/sources -N

cd sources

svn checkout svn://name/my_repository/sources/common

svn checkout svn://name/my_repository/sources/project1

 

"svn status" now tells me

? project1

? common

so my idea has not really worked.

(I know about svn:externals and svn switch, but these solutions also have
drawbacks.)

 

But what really bothers me is this is this behaviour :

Somebody changes something in project2.

"svn update" now tells me

svn: Working copy 'project2' not locked

When I type

"svn update" again, subversion tries to fetch all the subfolders of the
sources folder , including project2 which i never checked out.

 

Is this a bug in the "-N" option of "svn checkout", or is this intended
behaviour that I simply don't understand?

 

Georg
Received on Tue Mar 22 10:56:11 2005

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