From 58b3a535cc899760aa69055fa54f4fcb85570dcd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 29 Sep 2022 17:31:39 +0900 Subject: [PATCH] Pull up `VCS.short_revision` from `VCS::SVN` --- tool/lib/vcs.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 87ed15f7d1..a08d40742a 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -104,6 +104,10 @@ class VCS ] end + def self.short_revision(rev) + rev + end + attr_reader :srcdir def initialize(path) @@ -251,10 +255,6 @@ class VCS "r#{rev}" end - def self.short_revision(rev) - rev - end - def _get_revisions(path, srcdir = nil) if srcdir and self.class.local_path?(path) path = File.join(srcdir, path)