X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/4cda4e5c360d4cd0cd33ef8b3bd2cd55eb50b583..f369b8af542c644eed69bd3bf26d77dfc177c33e:/mrconfig?ds=inline diff --git a/mrconfig b/mrconfig index aff6a91..5c1d8c2 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 "$MR_REPO"/.svn ]; then svn cleanup ; fi