Subversion (svn) update to source tree containing nested checkouts (like clang/llvm)
-
07-07-2021 - |
Domanda
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!
Soluzione
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.
Altri suggerimenti
find . -name ".svn" -type d | xargs dirname | xargs svn update