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

ruby-changes:35165

From: nobu <ko1@a...>
Date: Fri, 22 Aug 2014 15:36:31 +0900 (JST)
Subject: [ruby-changes:35165] nobu:r47247 (trunk): rbinstall.rb: remove unused variable

nobu	2014-08-22 15:36:09 +0900 (Fri, 22 Aug 2014)

  New Revision: 47247

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

  Log:
    rbinstall.rb: remove unused variable
    
    * tool/rbinstall.rb: $vcs is no longer used since r46513.

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 47246)
+++ tool/rbinstall.rb	(revision 47247)
@@ -19,17 +19,10 @@ require 'optparse' https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L19
 require 'optparse/shellwords'
 require 'ostruct'
 require 'rubygems'
-require_relative 'vcs'
 
 STDOUT.sync = true
 File.umask(0)
 
-begin
-  $vcs = VCS.detect(File.expand_path('../..', __FILE__))
-rescue VCS::NotFoundError
-  $vcs = nil
-end
-
 def parse_args(argv = ARGV)
   $mantype = 'doc'
   $destdir = nil

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

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