SVN not updating recursively

2019-03-12 15:59发布

A few weeks ago, I checked out our whole SVN repo in --non-recursive mode. Now it seems that when I do a svn up, it does not update the folder recursively.

It's a problem because I'd like to get the changes from my colleagues without having to go through each directory and do a svn up manually...

How can I force the update to be recursive ?

2条回答
做个烂人
2楼-- · 2019-03-12 16:54

Following should work (with svn 1.7.x or later versions):

svn up --set-depth infinity
查看更多
▲ chillily
3楼-- · 2019-03-12 16:55

on next svn update command provide the parameter --depth:

svn up --depth infinity

on checking out a non-recursive checkout, subversion remembers this setting until you tell it otherwise.

Note: you should not use the parameter -N anymore as it is deprecated. Try to use --depth files or --depth immediates

查看更多
登录 后发表回答