summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-27 23:42:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-27 23:43:41 +0900
commit2cd68a38d97c8f2633c88d0d94e9aa1724261f9f (patch)
tree52f37017ef0ec7b2f7dd626f2fc51491aa61870d /tool
parenteaff19de2b31dc2133ba477291498d66bf3448bd (diff)
Short revision of SVN should be an Integer
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index db0af885da..37ff8f3985 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -266,7 +266,7 @@ class VCS
end
def self.short_revision(rev)
- rev
+ Integer(rev)
end
def _get_revisions(path, srcdir = nil)