ruby-changes:57615
From: Nobuyoshi <ko1@a...>
Date: Fri, 6 Sep 2019 22:16:34 +0900 (JST)
Subject: [ruby-changes:57615] 055b441093 (master): VCS::GIT no longer accepts remote repository
https://git.ruby-lang.org/ruby.git/commit/?id=055b441093 From 055b44109316bfc5461d6ac820619f893cea536c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 6 Sep 2019 22:15:36 +0900 Subject: VCS::GIT no longer accepts remote repository diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index d04ce28..3fe3eb5 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -435,7 +435,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L435 def cmd_args(cmds, srcdir = nil) (opts = cmds.last).kind_of?(Hash) or cmds << (opts = {}) opts[:external_encoding] ||= "UTF-8" - if srcdir and self.class.local_path?(srcdir) + if srcdir opts[:chdir] ||= srcdir end VCS::DEBUG_OUT.puts cmds.inspect if debug? @@ -536,9 +536,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L536 def initialize(*) super - if srcdir = @srcdir and self.class.local_path?(srcdir) - @srcdir = File.realpath(srcdir) - end + @srcdir = File.realpath(@srcdir) self end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/