@@ -109,7 +109,17 class Repository::Git < Repository | |||
|
109 | 109 | scm_brs = branches |
|
110 | 110 | return if scm_brs.nil? || scm_brs.empty? |
|
111 | 111 | h = extra_info || {} |
|
112 | h["branches"] ||= {} | |
|
112 | h["branches"] ||= {} | |
|
113 | h["db_consistent"] ||= {} | |
|
114 | if changesets.count == 0 | |
|
115 | h["db_consistent"]["ordering"] = 1 | |
|
116 | merge_extra_info(h) | |
|
117 | self.save | |
|
118 | elsif ! h["db_consistent"].has_key?("ordering") | |
|
119 | h["db_consistent"]["ordering"] = 0 | |
|
120 | merge_extra_info(h) | |
|
121 | self.save | |
|
122 | end | |
|
113 | 123 | scm_brs.each do |br| |
|
114 | 124 | from_scmid = nil |
|
115 | 125 | from_scmid = h["branches"][br]["last_scmid"] if h["branches"][br] |
General Comments 0
You need to be logged in to leave comments.
Login now