scm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapters/subversion_adapter.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4827 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-15 05:33:25 +00:00
parent 5d026d6fd3
commit 05f260da65
1 changed files with 13 additions and 12 deletions

View File

@ -185,6 +185,7 @@ module Redmine
def diff(path, identifier_from, identifier_to=nil, type="inline")
path ||= ''
identifier_from = (identifier_from and identifier_from.to_i > 0) ? identifier_from.to_i : ''
identifier_to = (identifier_to and identifier_to.to_i > 0) ? identifier_to.to_i : (identifier_from.to_i - 1)
cmd = "#{self.class.sq_bin} diff -r "