logger.debug "<cvs> entries '#{path}' with identifier '#{identifier}'"
path_with_project="#{url}#{with_leading_slash(path)}"
entries = Entries.new
- cmd = "#{self.class.sq_bin} -d #{shell_quote root_url} rls -e"
- cmd << " -D \"#{time_to_cvstime(identifier)}\"" if identifier
- cmd << " #{shell_quote path_with_project}"
- shellout(cmd) do |io|
+ cmd_args = %w|rls -e|
+ cmd_args << "-D" << time_to_cvstime(identifier) if identifier
+ cmd_args << path_with_project
+ scm_cmd(*cmd_args) do |io|
io.each_line(){|line|
fields=line.chop.split('/',-1)
logger.debug(">>InspectLine #{fields.inspect}")
end
}
end
- return nil if $? && $?.exitstatus != 0
entries.sort_by_name
+ rescue ScmCommandAborted
+ nil
end
STARTLOG="----------------------------"