X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/4cda4e5c360d4cd0cd33ef8b3bd2cd55eb50b583..9cc319d2589c13bbde96640c10ca7005abb336fd:/mrconfig?ds=sidebyside 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