@@ -143,7 +143,7 class Repository::Git < Repository | |||
|
143 | 143 | return if prev_db_heads.sort == repo_heads.sort |
|
144 | 144 | |
|
145 | 145 | h["db_consistent"] ||= {} |
|
146 |
if changesets. |
|
|
146 | if ! changesets.exists? | |
|
147 | 147 | h["db_consistent"]["ordering"] = 1 |
|
148 | 148 | merge_extra_info(h) |
|
149 | 149 | self.save |
@@ -16,7 +16,7 | |||
|
16 | 16 | <tr class="<%= cycle("odd", "even") %>"> |
|
17 | 17 | <td class="name"><%= link_to tracker.name, edit_tracker_path(tracker) %></td> |
|
18 | 18 | <td> |
|
19 |
<% unless tracker.workflow_rules. |
|
|
19 | <% unless tracker.workflow_rules.exists? %> | |
|
20 | 20 | <span class="icon icon-warning"> |
|
21 | 21 | <%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>) |
|
22 | 22 | </span> |
General Comments 0
You need to be logged in to leave comments.
Login now