[前][次][番号順一覧][スレッド一覧]

ruby-changes:9692

From: yugui <ko1@a...>
Date: Thu, 1 Jan 2009 15:43:24 +0900 (JST)
Subject: [ruby-changes:9692] Ruby:r21233 (ruby_1_9_1): merges r21219 from trunk into ruby_1_9_1.

yugui	2009-01-01 15:43:08 +0900 (Thu, 01 Jan 2009)

  New Revision: 21233

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21233

  Log:
    merges r21219 from trunk into ruby_1_9_1.
    * tool/file2lastrev.rb: unset PWD.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/tool/file2lastrev.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21232)
+++ ruby_1_9_1/ChangeLog	(revision 21233)
@@ -1,3 +1,7 @@
+Thu Jan  1 06:56:28 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/file2lastrev.rb: unset PWD.
+
 Wed Dec 31 14:12:35 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* object.c (rb_to_float): replaced by to_flo definition from
Index: ruby_1_9_1/tool/file2lastrev.rb
===================================================================
--- ruby_1_9_1/tool/file2lastrev.rb	(revision 21232)
+++ ruby_1_9_1/tool/file2lastrev.rb	(revision 21233)
@@ -1,5 +1,8 @@
 #!/usr/bin/env ruby
 
+ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C'
+ENV.delete('PWD')
+
 require 'optparse'
 require 'pathname'
 
@@ -14,7 +17,6 @@
 end
 
 def get_revisions(path)
-  ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C'
   vcs, path = detect_vcs(path)
 
   info = case vcs

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]