diff options
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/vcs.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 37ff8f3985..45cd91078f 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -266,7 +266,7 @@ class VCS end def self.short_revision(rev) - Integer(rev) + rev end def _get_revisions(path, srcdir = nil) @@ -281,7 +281,7 @@ class VCS _, last, _, changed, _ = info_xml.split(/revision="(\d+)"/) modified = info_xml[/<date>([^<>]*)/, 1] branch = info_xml[%r'<relative-url>\^/(?:branches/|tags/)?([^<>]+)', 1] - [last, changed, modified, branch] + [Integer(last), Integer(changed), modified, branch] end def self.search_root(path) |