##// END OF EJS Templates
scm: cvs: use scm_cmd() in adapter revisions()....
Toshi MARUYAMA -
r4965:eea06ab7702f
parent child
Show More
@@ -145,10 +145,10 module Redmine
145 145 logger.debug "<cvs> revisions path:'#{path}',identifier_from #{identifier_from}, identifier_to #{identifier_to}"
146 146
147 147 path_with_project="#{url}#{with_leading_slash(path)}"
148 cmd = "#{self.class.sq_bin} -d #{shell_quote root_url} rlog"
149 cmd << " -d\">#{time_to_cvstime_rlog(identifier_from)}\"" if identifier_from
150 cmd << " #{shell_quote path_with_project}"
151 shellout(cmd) do |io|
148 cmd_args = %w|rlog|
149 cmd_args << "-d" << ">#{time_to_cvstime_rlog(identifier_from)}" if identifier_from
150 cmd_args << path_with_project
151 scm_cmd(*cmd_args) do |io|
152 152 state="entry_start"
153 153
154 154 commit_log=String.new
@@ -261,6 +261,8 module Redmine
261 261 end
262 262 end
263 263 end
264 rescue ScmCommandAborted
265 Revisions.new
264 266 end
265 267
266 268 def diff(path, identifier_from, identifier_to=nil)
General Comments 0
You need to be logged in to leave comments. Login now