summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
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)