Show More
@@ -2617,7 +2617,8 b' def _graphnodeformatter(ui, displayer):' | |||||
2617 | return formatnode |
|
2617 | return formatnode | |
2618 |
|
2618 | |||
2619 | def displaygraph(ui, repo, dag, displayer, edgefn, getrenamed=None, |
|
2619 | def displaygraph(ui, repo, dag, displayer, edgefn, getrenamed=None, | |
2620 | filematcher=None): |
|
2620 | filematcher=None, props=None): | |
|
2621 | props = props or {} | |||
2621 | formatnode = _graphnodeformatter(ui, displayer) |
|
2622 | formatnode = _graphnodeformatter(ui, displayer) | |
2622 | state = graphmod.asciistate() |
|
2623 | state = graphmod.asciistate() | |
2623 | styles = state['styles'] |
|
2624 | styles = state['styles'] | |
@@ -2658,7 +2659,7 b' def displaygraph(ui, repo, dag, displaye' | |||||
2658 | firstedge = next(edges) |
|
2659 | firstedge = next(edges) | |
2659 | width = firstedge[2] |
|
2660 | width = firstedge[2] | |
2660 | displayer.show(ctx, copies=copies, matchfn=revmatchfn, |
|
2661 | displayer.show(ctx, copies=copies, matchfn=revmatchfn, | |
2661 | _graphwidth=width) |
|
2662 | _graphwidth=width, **props) | |
2662 | lines = displayer.hunk.pop(rev).split('\n') |
|
2663 | lines = displayer.hunk.pop(rev).split('\n') | |
2663 | if not lines[-1]: |
|
2664 | if not lines[-1]: | |
2664 | del lines[-1] |
|
2665 | del lines[-1] |
General Comments 0
You need to be logged in to leave comments.
Login now