8 path = File.expand_path(ARGV.shift || Dir.pwd)
11 <?xml version="1.0" encoding="utf-8"?>
13 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
14 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
15 <html xmlns="http://www.w3.org/1999/xhtml">
17 <style type="text/css">
20 border: 1px solid red;
21 border-width: 1px 0 0 1px;
22 margin: 2em 2em 2em 3em;
28 border-left: 1px solid red;
40 border-bottom: 1px solid red;
41 padding: 0 5px 1px 1em;
67 text-decoration: line-through;
70 <title>#{h path}</title>
76 ctx = Svn::Client::Context.new
77 ctx.log(path, "HEAD", 0, 40, true, true) do
78 |changed_paths, rev, author, date, message|
80 html << <<-ENTRY_HEADER
84 <pre class="message">#{h message}</pre>
87 by <span class="author">#{h author}</span>
88 at <span class="date">#{date}</span>
91 <div class="changed-path">
94 changed_paths.sort.each do |path, changed_path|
95 action = changed_path.action
98 <li class="action-#{h action}">
99 <span class="action">#{h action}</span>:
100 <span class="changed-path">#{h path}</span>
106 html << <<-ENTRY_FOOTER