Question

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!

Was it helpful?

Solution

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.

OTHER TIPS

find . -name ".svn" -type d | xargs dirname | xargs svn update
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top