From 4a6acc26d5fb95ae9990aefdc6d590769be97935 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 30 Mar 2010 04:11:24 +0000 Subject: * tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log can deal with git-svn repository faster than git-svn-info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 ++++- tool/file2lastrev.rb | 10 ---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0952392621..42c34b2535 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Tue Mar 30 13:01:10 2010 Nobuyoshi Nakada +Tue Mar 30 13:11:17 2010 Nobuyoshi Nakada + + * tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log can + deal with git-svn repository faster than git-svn-info. * tool/file2lastrev.rb (VCS#get_revisions): particular commands do not depend on instance. diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 7ab0fb7bc5..53774d6d34 100755 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -51,16 +51,6 @@ class VCS end end - class GIT_SVN < self - register(".git/svn") - - def self.get_revisions(path) - lastlog = `git log -n1` - info = `git svn info "#{path}"` - [info[/^Revision: (\d+)/, 1], info[/^Last Changed Rev: (\d+)/, 1]] - end - end - class GIT < self register(".git") -- cgit v1.2.3