X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/4cda4e5c360d4cd0cd33ef8b3bd2cd55eb50b583..0c6bf1b6942db440d4296147175d481d60c27cd4:/mrconfig diff --git a/mrconfig b/mrconfig index aff6a91..5635ec0 100644 --- a/mrconfig +++ b/mrconfig @@ -16,10 +16,14 @@ checkout = git clone git://git.debian.org/git/dpkg/dpkg.git && \ git fetch kite && \ git checkout -b sourcev3 kite/sourcev3 update = git pull origin master && git pull kite sourcev3 +commit = git push kite # My home directory, which I keep in svn. [] -# Since I have a lot of different branches for different machines, -# the checkout procedure is manual. -checkout = echo "run svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home- ."; \ - exit 1 +checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey +# run svnfix after each update +update = svn update && svnfix + +# Teach mr how to run svn cleanup. +[default] +cleanup = if [ -d .svn ]; then svn cleanup ; fi