@@ -101,9 +101,9 module Redmine | |||
|
101 | 101 | end |
|
102 | 102 | |
|
103 | 103 | def target(path) |
|
104 |
path ||= |
|
|
104 | path ||= '' | |
|
105 | 105 |
base = path.match(/^\//) ? root_url : url |
|
106 |
|
|
|
106 | shell_quote("#{base}/#{path}".gsub(/[?<>\*]/, '')) | |
|
107 | 107 | end |
|
108 | 108 | |
|
109 | 109 | def logger |
@@ -100,7 +100,7 module Redmine | |||
|
100 | 100 | cmd = "#{SVN_BIN} log --xml -r #{identifier_from}:#{identifier_to}" |
|
101 | 101 | cmd << credentials_string |
|
102 | 102 | cmd << " --verbose " if options[:with_paths] |
|
103 | cmd << target(path) | |
|
103 | cmd << ' ' + target(path) | |
|
104 | 104 | shellout(cmd) do |io| |
|
105 | 105 | begin |
|
106 | 106 | doc = REXML::Document.new(io) |
General Comments 0
You need to be logged in to leave comments.
Login now