will.thoughts.pop
RSS icon Email icon Home icon
  • How to ‘win’ at subversion

    Posted on September 28th, 2007 Will 1 comment

    Carl bagged the 1000th commit on a big project by cheating with this script:

    while :; do svn up | ruby -e 'gets; if $_ =~ /999/; `svn commit -m 'Winnah.' ../trunk`; end'; sleep 30; done

    The contents of the commit? A single file containing the word ‘Winnah’.

     

    One response to “How to ‘win’ at subversion”

    1. I got 2000 too!

    Leave a reply