##// END OF EJS Templates
scm: git: use hash#dup for extra_info in model fetch_changesets()....
Toshi MARUYAMA -
r5736:fe7e8fa59071
parent child
Show More
@@ -108,7 +108,8 class Repository::Git < Repository
108 def fetch_changesets
108 def fetch_changesets
109 scm_brs = branches
109 scm_brs = branches
110 return if scm_brs.nil? || scm_brs.empty?
110 return if scm_brs.nil? || scm_brs.empty?
111 h = extra_info || {}
111 h1 = extra_info || {}
112 h = h1.dup
112 h["branches"] ||= {}
113 h["branches"] ||= {}
113 h["db_consistent"] ||= {}
114 h["db_consistent"] ||= {}
114 if changesets.count == 0
115 if changesets.count == 0
General Comments 0
You need to be logged in to leave comments. Login now