scm: git: split fetch_changesets method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8814 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f319409abc
commit
adb81b1ff6
|
@ -144,6 +144,10 @@ class Repository::Git < Repository
|
|||
merge_extra_info(h)
|
||||
self.save
|
||||
end
|
||||
save_revisions(h, scm_brs)
|
||||
end
|
||||
|
||||
def save_revisions(h, scm_brs)
|
||||
scm_brs.each do |br1|
|
||||
br = br1.to_s
|
||||
from_scmid = nil
|
||||
|
@ -167,6 +171,7 @@ class Repository::Git < Repository
|
|||
end
|
||||
end
|
||||
end
|
||||
private :save_revisions
|
||||
|
||||
def save_revision(rev)
|
||||
changeset = Changeset.new(
|
||||
|
|
Loading…
Reference in New Issue