X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/4cda4e5c360d4cd0cd33ef8b3bd2cd55eb50b583..8ddd51f2c761cb3fc33bd9c8aa509992e1561490:/mrconfig diff --git a/mrconfig b/mrconfig index aff6a91..5cb3af6 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 + +[default] +# Teach mr how to run svn cleanup. +cleanup = if [ -d .svn ]; then svn cleanup ; fi