capistrano/capistrano — pull request #141 by mattjmorrison (2012-01-11 05:55:25+00:00)
Title: changed single to double quotes for Windows

When getting the current revision from Mercurial on Windows the
following command:

"hg log -r tip --template '{node|short}'"

fails due to the single quotes not being escaped. To make this
command run properly on Windows, I modified it to the following:

"hg log -r tip --template \"{node|short}\""

This change seems to be safe on Windows 7, Mac OS X 10.7.2, and
Ubuntu 11.10.