SVN不递归更新 [英] SVN not updating recursively
问题描述
几周前,我在 --non-recursive
模式下查看了我们的整个 SVN 存储库.现在看来,当我执行 svn up
时,它不会递归更新文件夹.
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.
这是一个问题,因为我想从我的同事那里获取更改,而不必遍历每个目录并手动执行 svn up
...
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...
如何强制更新递归?
推荐答案
在下一个svn update命令上提供参数--depth:
on next svn update command provide the parameter --depth:
svn up --depth infinity
在签出非递归签出时,Subversion 会记住此设置,直到您另有说明为止.
on checking out a non-recursive checkout, subversion remembers this setting until you tell it otherwise.
注意:您不应再使用参数 -N,因为它已被弃用.尝试使用 --depth 文件 或 --depth 立即数
Note: you should not use the parameter -N anymore as it is deprecated. Try to use --depth files or --depth immediates
这篇关于SVN不递归更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!