mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Make user input for yes/no prompts work correctly in the Mercurial module
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
6f2d6282b0
commit
e1d3027e0b
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
|
* Make user input for yes/no prompts work correctly in the Mercurial module [Matthew Elder]
|
||||||
|
|
||||||
* Use single quotes to escape semicolon in find command, instead of a backslash [via michael.italia@gmail.com]
|
* Use single quotes to escape semicolon in find command, instead of a backslash [via michael.italia@gmail.com]
|
||||||
|
|
||||||
* Better quoting of reserved characters in commands [Jamis Buck]
|
* Better quoting of reserved characters in commands [Jamis Buck]
|
||||||
|
|
|
@ -84,7 +84,7 @@ module Capistrano
|
||||||
"Prompt was: #{text}"
|
"Prompt was: #{text}"
|
||||||
end
|
end
|
||||||
when /yes\/no/i
|
when /yes\/no/i
|
||||||
"yes"
|
"yes\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue