Skip to content

Instantly share code, notes, and snippets.

@thbar
Created January 29, 2009 10:16
Show Gist options
  • Save thbar/54487 to your computer and use it in GitHub Desktop.
Save thbar/54487 to your computer and use it in GitHub Desktop.
today = Date.today.strftime("%Y-%m-%d")
yesterday = (Date.today - 1).strftime("%Y-%m-%d")
cmd = "svn log -r {#{yesterday}}:{#{today}}"
puts cmd
raise "Error!" unless system(cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment