# File lib/vlad/mercurial.rb, line 9 def checkout(revision, destination) revision = 'tip' if revision =~ /^head$/i "hg pull -r #{revision} -R #{destination} #{repository}" end