Commit d4de3967 authored by tmaruyama's avatar tmaruyama

scm: git: split fetch_changesets method

git-svn-id: https://svn.redmine.org/redmine/trunk@8814 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 195d3731
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment