Project

General

Profile

Defect #9472 » git.patch

Proposed patch. - John Kubiatowicz, 2011-10-26 08:03

View differences:

app/models/repository/git.rb (working copy)
# -*- coding: utf-8 -*-
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
# Copyright (C) 2007 Patrick Aljord patcito@ŋmail.com
......
if changesets.count == 0
h["db_consistent"]["ordering"] = 1
merge_extra_info(h)
self.save
elsif ! h["db_consistent"].has_key?("ordering")
h["db_consistent"]["ordering"] = 0
merge_extra_info(h)
self.save
end
scm_brs.each do |br1|
br = br1.to_s
......
end
h["branches"][br]["last_scmid"] = rev.scmid
merge_extra_info(h)
self.save
end
end
end
self.save
end
def save_revision(rev)
(1-1/8)