diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-06 13:49:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-06 13:49:33 +0000 |
commit | f69572b956f0468406c728d52d81c6271c31a9bd (patch) | |
tree | 6052a8a617af9fff929e1871a1ce609df2598ca1 /lib/redmine/scm/adapters/git_adapter.rb | |
parent | 1194235faa4985913cff517475ba3a3b5b5ccf68 (diff) | |
download | redmine-f69572b956f0468406c728d52d81c6271c31a9bd.tar.gz redmine-f69572b956f0468406c728d52d81c6271c31a9bd.zip |
scm: git: change local value "revisions" name to "revs" in adapter revisions().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5674 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters/git_adapter.rb')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index c848684ff..5a04f59ae 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -183,7 +183,7 @@ module Redmine end def revisions(path, identifier_from, identifier_to, options={}) - revisions = Revisions.new + revs = Revisions.new cmd_args = %w|log --no-color --encoding=UTF-8 --raw --date=iso --pretty=fuller| cmd_args << "--reverse" if options[:reverse] cmd_args << "--all" if options[:all] @@ -214,7 +214,7 @@ module Redmine :message => changeset[:description], :paths => files }) - revisions << revision + revs << revision changeset = {} files = [] end @@ -260,12 +260,12 @@ module Redmine :message => changeset[:description], :paths => files }) - revisions << revision + revs << revision end end - revisions + revs rescue ScmCommandAborted - revisions + revs end def diff(path, identifier_from, identifier_to=nil) |