I've building clang/llvm frequently on various systems following the "Getting Started" instructions (http://clang.llvm.org/get_started.html). The SVN folks are really into modularity but don't seem to use the SVN "externals" mechanism, so they require three separate checkouts (llvm, clang, compiler-rt) into a single source tree (with one optional: extra).

Every now and then I build an updated version by doing "svn up" in the source tree root ("llvm") and then rebuilding.

Today, for the first time, I wondered if I should be doing an "svn up" in each separate checkout sub-directory or whether SVN is smart enough to do "recursive updates for nested checkouts". Couldn't find an answer after searching a bit so I am here now.

Thanks!

有帮助吗?

解决方案

SVN is smart enough to do "recursive updates for nested checkouts"

AFAIK, outside the use of externals, SVN is not smart enough to know about nested checkouts.

其他提示

find . -name ".svn" -type d | xargs dirname | xargs svn update
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top