Mercurial > hg > soundsoftware-site
comparison .svn/pristine/cf/cfe48899ec41bed831622374c58670076f47ba53.svn-base @ 1296:038ba2d95de8 redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:05:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1296:038ba2d95de8 |
---|---|
1 class CopyRepositoriesLogEncoding < ActiveRecord::Migration | |
2 def self.up | |
3 encoding = Setting.commit_logs_encoding.to_s.strip | |
4 encoding = encoding.blank? ? 'UTF-8' : encoding | |
5 # encoding is NULL by default | |
6 Repository.update_all(["log_encoding = ?", encoding], "type IN ('Bazaar', 'Cvs', 'Darcs')") | |
7 end | |
8 | |
9 def self.down | |
10 end | |
11 end |