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:
parent
18eb9e5855
commit
2fb83a0af7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue