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
This commit is contained in:
Toshi MARUYAMA 2011-05-06 13:49:33 +00:00
parent 1194235faa
commit f69572b956
1 changed files with 5 additions and 5 deletions

View File

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