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

X:Y doesn't include X in svn

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-02-27 14:31:24 +00:00
parent 79cd8f144e
commit 488b8befc2

View file

@ -180,6 +180,7 @@ else
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]