mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
remove spaces inside {} of app/models/repository/mercurial.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20024 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1f6496c882
commit
0e6e6a3169
@ -171,7 +171,7 @@ class Repository::Mercurial < Repository
|
||||
AND (#{Change.table_name}.path = ?
|
||||
OR #{Change.table_name}.path LIKE ? ESCAPE ?))"
|
||||
args << path.with_leading_slash
|
||||
args << "#{path.with_leading_slash.gsub(%r{[%_\\]}) { |s| "\\#{s}" }}/%" << '\\'
|
||||
args << "#{path.with_leading_slash.gsub(%r{[%_\\]}) {|s| "\\#{s}"}}/%" << '\\'
|
||||
end
|
||||
[cond.join(' AND '), *args] unless cond.empty?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user