From 2fb83a0af7a49788e80c55fd324dfa8e046cd9d9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 23 Apr 2019 15:39:36 +0900 Subject: [PATCH] Split git-svn dependent methods --- tool/vcs.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/vcs.rb b/tool/vcs.rb index 6b72312801..fe81df871b 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -484,7 +484,9 @@ class VCS end end end + end + class GITSVN < GIT def last_changed_revision rev = cmd_read(%W"#{COMMAND} svn info"+[STDERR=>[:child, :out]])[/^Last Changed Rev: (\d+)/, 1] com = cmd_read(%W"#{COMMAND} svn find-rev r#{rev}").chomp