How to ‘win’ at subversion

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 thought on “How to ‘win’ at subversion

  1. Carl says:

    I got 2000 too!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.