Mercurial > hg > config
view bin/desvn.sh @ 156:a9c3a32d8385
add a function for loading modules from the web
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 27 Jul 2011 08:43:34 -0700 |
parents | 3530d50c97ff |
children |
line wrap: on
line source
#!/bin/bash desvn() { if [ "$#" == "1" ] then cd $1 fi svn ls | grep '.*/$' | while read line do desvn $line done rm -rf .svn if [ "$#" == "1" ] then cd .. fi } desvn