ruby-changes:50454
From: nobu <ko1@a...>
Date: Mon, 26 Feb 2018 15:00:13 +0900 (JST)
Subject: [ruby-changes:50454] nobu:r62577 (trunk): vcs.rb: .git at export
nobu 2018-02-26 15:00:08 +0900 (Mon, 26 Feb 2018) New Revision: 62577 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62577 Log: vcs.rb: .git at export * tool/vcs.rb (VCS::GIT#export): do not remove .git directory. should remove it by after_export. Modified files: trunk/tool/vcs.rb Index: tool/vcs.rb =================================================================== --- tool/vcs.rb (revision 62576) +++ tool/vcs.rb (revision 62577) @@ -452,7 +452,6 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L452 def export(revision, url, dir, keep_temp = false) ret = system(COMMAND, "clone", "-s", (@srcdir || '.').to_s, "-b", url, dir) - FileUtils.rm_rf("#{dir}/.git") if ret and !keep_temp ret end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/