Quotes Mercurial entries command depending on the OS.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1229 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-11 20:15:05 +00:00
parent 71d3bb2f7b
commit a9c972fbb3
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module Redmine
entries = Entries.new
cmd = "#{HG_BIN} -R #{target('')} --cwd #{target(path)} locate"
cmd << " -r #{identifier.to_i}" if identifier
cmd << " glob:**"
cmd << " " + shell_quote('glob:**')
shellout(cmd) do |io|
io.each_line do |line|
e = line.chomp.split(%r{[\/\\]})