Project

General

Profile

Patch #1476 ยป svn_no_whitespace_diff.patch

Chris Peterson, 2008-06-16 21:27

View differences:

lib/redmine/scm/adapters/subversion_adapter.rb (working copy)
133 133
          path ||= ''
134 134
          identifier_from = (identifier_from and identifier_from.to_i > 0) ? identifier_from.to_i : ''
135 135
          identifier_to = (identifier_to and identifier_to.to_i > 0) ? identifier_to.to_i : (identifier_from.to_i - 1)
136
          
137
          cmd = "#{SVN_BIN} diff -r "
136
          # 
137
          cmd = "#{SVN_BIN} --diff-cmd diff \"-x -bBEwdu\" diff -r"
138 138
          cmd << "#{identifier_to}:"
139 139
          cmd << "#{identifier_from}"
140 140
          cmd << " #{target(path)}@#{identifier_from}"
    (1-1/1)