subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miro Kropáček <miro.kropa...@gmail.com>
Subject Possible bug: svn update doesn't respect the 'depth' property
Date Sun, 07 Jul 2013 23:06:30 GMT
Hello,

I'm not subscribed to the list. I'd like to ask about one issue I'm having.
Let's say I've got a tree like this:

server/svn/trunk/software
server/svn/trunk/software/user
server/svn/trunk/software/wicked_filenames
server/svn/trunk/documentation
server/svn/trunk/huuuge_subtree_i_really_dont_want_to_checkout
:
:

and I'd like to checkout only 'server/svn/trunk/software/user'. Of course,
I could do

svn checkout server/svn/trunk/software/user

or even:

mkdir -p ~/projects/svn/trunk/software/user
svn checkout server/svn/trunk/software/user
~/projects/svn/trunk/software/user

but in either way, svn root will be placed in the 'user' directory what is
not what I want because in the future I might be interested to checkout the
huge subtree or the wicked_filenames might become windows-friendly
filenames in the future.

I'm not sure if a scenario like this is even supported but this is what I
tried:

svn co --depth empty server/svn/trunk
cd trunk
svn up --depth empty software
cd software
svn up user

... and it seems to work, hooray. Now, in 'software' and 'trunk', svn info
gives me: "Depth: empty", in 'user' it gives me nothing about the depth, I
assume that means 'normal'.

And finally, my question :) If I go to 'trunk' or 'software' and do 'svn
update' ... why the complete tree is updated (fetched from the server,
including the omitted subtrees) ? What's the meaning of "Depth: empty" then?

Regards,
Miro Kropacek

Mime
View raw message