trac.versioncontrol.web_ui.util
¶
-
trac.versioncontrol.web_ui.util.
make_log_graph
(repos, revs)¶ Generate graph information for the given revisions.
Returns a tuple
(threads, vertices, columns)
, where:threads
: List of paint command lists[(type, column, line)]
, wheretype
is either 0 for “move to” or 1 for “line to”, andcolumn
andline
are coordinates.vertices
: List of(column, thread_index)
tuples, where thei`th item specifies the column in which to draw the dot in line `i
and the corresponding thread.columns
: Maximum width of the graph.
-
trac.versioncontrol.web_ui.util.
render_zip
(req, filename, repos, root_node, iter_nodes)¶ Send a ZIP file containing the data corresponding to the
nodes
iterable.Parameters: