1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tool/merger.rb: Drop some revision notations.

Maintainer use merger mainly from redmine-backporter.rb.

[Fix GH-2136]

From: Chikanaga Tomoyuki <t-chikanaga@groovenauts.jp>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2019-04-21 02:58:10 +00:00
parent ffc93316c8
commit e7d76e3f5a

View file

@ -239,11 +239,6 @@ else
revs.each do |rev|
case rev
when /\A\d+:\d+\z/
r = ['-r', rev]
when /\A(\d+)-(\d+)\z/
rev = "#{$1.to_i-1}:#$2"
r = ['-r', rev]
when /\A\d+\z/
r = ['-c', rev]
when nil then