1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Split git-svn dependent methods

This commit is contained in:
Nobuyoshi Nakada 2019-04-23 15:39:36 +09:00
parent 18eb9e5855
commit 2fb83a0af7
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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