194 """changesets that aren't finished""" |
194 """changesets that aren't finished""" |
195 # TODO support date-based limiting when calling revset. |
195 # TODO support date-based limiting when calling revset. |
196 revs = repo.revs('sort(_underway(), topo)') |
196 revs = repo.revs('sort(_underway(), topo)') |
197 |
197 |
198 revdag = graphmod.dagwalker(repo, revs) |
198 revdag = graphmod.dagwalker(repo, revs) |
199 displayer = cmdutil.changeset_templater(ui, repo, None, None, |
199 tmpl = fm._t.load(fm._topic) |
200 tmpl=fm._t.load(fm._topic), |
200 displayer = cmdutil.makelogtemplater(ui, repo, tmpl, buffered=True) |
201 mapfile=None, buffered=True) |
|
202 |
201 |
203 ui.setconfig('experimental', 'graphshorten', True) |
202 ui.setconfig('experimental', 'graphshorten', True) |
204 cmdutil.displaygraph(ui, repo, revdag, displayer, graphmod.asciiedges) |
203 cmdutil.displaygraph(ui, repo, revdag, displayer, graphmod.asciiedges) |
205 |
204 |
206 # Adjust the docstring of the show command so it shows all registered views. |
205 # Adjust the docstring of the show command so it shows all registered views. |