--- Merging: cd branches/BOB_BRANCH/libs2 svn merge -r48419:HEAD --dry-run svn+ssh://svn.svnserver.com/svn/src/trunk/libs2 . --- Reverting a removal of a directory: * svn merge to the revision before it. If you removed in revision 23 svn merge -r 23:22 /path/ . svn commit --- Reverting a change. If the bad checkin was rev 222, revert to 221 * svn revert -r 222:221 path --- Create a repository % svnadmin create /svn Or multiple: % svnadmin create /svn/development % svnadmin create /svn/qa % svnadmin create /svn/docs Then Create the trunk/branches/tag directories % svn co -N svn+ssh://server/svn % cd svn Hooks go into: svn/hooks pre-commit pre-revprop-change post-revprop-change post-commit * Sample Hook scripts are here: /usr/share/doc/subversion-1.2.1/tools/hook-scripts * Hey how do I source control the hooks? * Check it in to somewhere in the repository say svn/build/svnhooks * Then check out in the hooks location. * svn status -u (Forces check against server rather than local copy) * To remove a bad file (direct url). Such as when someone checks in README and readme and Windows freaks out. svn rm svn+ssh://xxxxxxx/path ---- Compiling on 64bit will result in "recompile with -fPIC" proper fix is: ./configure --enable-shared make Should work. ------------------------------------------ Compiling on 64bit: http://joemaller.com/2008/01/29/how-to-install-subversion-on-a-shared-host/ 46 2:55pm tar xvfz subversion-1.5.3.tar.gz 47 2:56pm cd subversion-1.5.3 48 2:56pm ls 49 2:56pm autoconf 50 2:56pm ./configure 51 2:56pm svn co http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr ; 52 2:57pm svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x apr-util 69 3:08pm cd apr 70 3:08pm ./buildconf 71 3:08pm ./configure --enable-shared --prefix=$HOME 72 3:09pm make 73 3:09pm make install 74 3:09pm cd ../apr-util 75 3:09pm ./buildconf 76 3:10pm ./configure --enable-shared --prefix=$HOME --with-expat=builtin --with-apr=$HOME --without-berkeley-deb 77 3:10pm make 78 3:11pm make install ---> Set Java JDK crap % ./configure --prefix=$HOME --without-berkeley-db --with-editor=/usr/bin/vim --without-apxs --without-apache --enable-javahl --with-junit=/path/to/junit.jar % make % make install % make javahl # Download junit % make check-javahl % make install-javahl --- 64 bit Java JDK is required to make this work ------------------------------ Is svn+ssh slower than http checkouts? No. 33 seconds vs 59 seconds on export 495MB