end
end
return nil if $? && $?.exitstatus != 0
+
info
rescue CommandFailed
return nil
# Skip directory if there is no commit date (usually that
# means that we don't have read access to it)
next if entry['kind'] == 'dir' && commit_date.nil?
+
name = entry['name']['__content__']
entries << Entry.new({:name => URI.unescape(name),
:path => ((path.empty? ? "" : "#{path}/") + name),
end
end
return nil if $? && $?.exitstatus != 0
+
logger.debug("Found #{entries.size} entries in the repository for #{target(path)}") if logger && logger.debug?
entries.sort_by_name
end
end
end
return nil if $? && $?.exitstatus != 0
+
properties
end
end
end
return nil if $? && $?.exitstatus != 0
+
revisions
end
end
end
return nil if $? && $?.exitstatus != 0
+
diff
end
cat = io.read
end
return nil if $? && $?.exitstatus != 0
+
cat
end
shellout(cmd) do |io|
io.each_line do |line|
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
+
rev = $1
blame.add_line(
$3.rstrip,
end
end
return nil if $? && $?.exitstatus != 0
+
blame
end