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

ruby-changes:42605

From: usa <ko1@a...>
Date: Fri, 22 Apr 2016 14:10:41 +0900 (JST)
Subject: [ruby-changes:42605] usa:r54679 (trunk): * tool/redmine-backporter.rb: the fullpath of merger.rb is too long to

usa	2016-04-22 15:07:19 +0900 (Fri, 22 Apr 2016)

  New Revision: 54679

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

  Log:
    * tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
      copy&paste on Windows.  show shorter name instead on the platform.
      I'm sure that the user of this command on Windows is only me.

  Modified files:
    trunk/ChangeLog
    trunk/tool/redmine-backporter.rb
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 54678)
+++ tool/redmine-backporter.rb	(revision 54679)
@@ -300,7 +300,7 @@ def show_last_journal(http, uri) https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L300
 end
 
 def merger_path
-  File.expand_path('../merger.rb', __FILE__)
+  RUBY_PLATFORM =~ /mswin|mingw/ ? 'merger' : File.expand_path('../merger.rb', __FILE__)
 end
 
 def backport_command_string
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54678)
+++ ChangeLog	(revision 54679)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Apr 22 15:04:56 2016  NAKAMURA Usaku  <usa@r...>
+
+	* tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
+	  copy&paste on Windows.  show shorter name instead on the platform.
+	  I'm sure that the user of this command on Windows is only me.
+
 Fri Apr 22 14:52:04 2016  NAKAMURA Usaku  <usa@r...>
 
 	* tool/merger.rb: remove temporary file.

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

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