X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/cec9366aea873ebe2dca710d42f78d080c7d1ff0..f44a682a86fc0654136fec66cb52ca136bad6c01:/mrconfig?ds=inline diff --git a/mrconfig b/mrconfig index 5b51857..c86c936 100644 --- a/mrconfig +++ b/mrconfig @@ -1,6 +1,6 @@ # An example config file for the mr(1) command. -[default] +[DEFAULT] # Teach mr how to run svn cleanup. cleanup = if [ -d "$MR_REPO"/.svn ]; then svn cleanup ; fi # Tests used in the skips below. @@ -8,12 +8,16 @@ cleanup = if [ -d "$MR_REPO"/.svn ]; then svn cleanup ; fi # large) # - mylaptop only succeeds if it's on my main development laptop, which # gets lots of extra cruft +# - kite only succeeds on kite lib = \ wantsrc() { \ test "$(whoami)" = joey; \ }; \ mylaptop() { \ test "$(hostname)" = kodama; \ + }; \ + kite() { \ + test "$(hostname)" = wren; \ } [src/mr] @@ -45,10 +49,10 @@ checkout = \ # and only rarely update = echo "skipping cvs update (too slow)" status = echo "skipping cvs status (too ugly)" -skip = ! wantsrc +skip = ! mylaptop || ! wantsrc # My home directory, which I keep in svn. [] -checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey +checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) $HOME # run svnfix after each update update = svn update && svnfix