mirror of
https://github.com/github/rails.git
synced 2026-01-28 15:58:03 -05:00
Help script/about print the correct svn revision when in a non-English locale. Closes #4026.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Help script/about print the correct svn revision when in a non-English locale. #4026 [babie7a0@ybb.ne.jp]
|
||||
|
||||
* Add 'app' accessor to script/console as an instance of Integration::Session [Jamis Buck]
|
||||
|
||||
* Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
|
||||
|
||||
@@ -51,13 +51,16 @@ module Rails
|
||||
table << '</table>'
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
def svn_info
|
||||
Dir.chdir("#{RAILS_ROOT}/vendor/rails") do
|
||||
silence_stderr { `svn info` }
|
||||
|
||||
protected
|
||||
def svn_info
|
||||
env_lang, ENV['LC_ALL'] = ENV['LC_ALL'], 'C'
|
||||
Dir.chdir("#{RAILS_ROOT}/vendor/rails") do
|
||||
silence_stderr { `svn info` }
|
||||
end
|
||||
ensure
|
||||
ENV['LC_ALL'] = env_lang
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# The Ruby version and platform, e.g. "1.8.2 (powerpc-darwin8.2.0)".
|
||||
|
||||
Reference in New Issue
Block a user