scm: git: back out r5673 (#7146).
recovery "block_given?" in adapter. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5777 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4ea8f1637c
commit
38d5925d70
|
@ -214,7 +214,11 @@ module Redmine
|
|||
:message => changeset[:description],
|
||||
:paths => files
|
||||
})
|
||||
revs << revision
|
||||
if block_given?
|
||||
yield revision
|
||||
else
|
||||
revs << revision
|
||||
end
|
||||
changeset = {}
|
||||
files = []
|
||||
end
|
||||
|
@ -260,7 +264,11 @@ module Redmine
|
|||
:message => changeset[:description],
|
||||
:paths => files
|
||||
})
|
||||
revs << revision
|
||||
if block_given?
|
||||
yield revision
|
||||
else
|
||||
revs << revision
|
||||
end
|
||||
end
|
||||
end
|
||||
revs
|
||||
|
|
Loading…
Reference in New Issue