Show More
@@ -2212,7 +2212,7 b' def displaygraph(ui, repo, dag, displaye' | |||||
2212 | graphmod.ascii(ui, state, type, char, lines, coldata) |
|
2212 | graphmod.ascii(ui, state, type, char, lines, coldata) | |
2213 | displayer.close() |
|
2213 | displayer.close() | |
2214 |
|
2214 | |||
2215 |
def graphlog(ui, repo, |
|
2215 | def graphlog(ui, repo, pats, opts): | |
2216 | # Parameters are identical to log command ones |
|
2216 | # Parameters are identical to log command ones | |
2217 | revs, expr, filematcher = getgraphlogrevs(repo, pats, opts) |
|
2217 | revs, expr, filematcher = getgraphlogrevs(repo, pats, opts) | |
2218 | revdag = graphmod.dagwalker(repo, revs) |
|
2218 | revdag = graphmod.dagwalker(repo, revs) |
@@ -3398,7 +3398,7 b' def log(ui, repo, *pats, **opts):' | |||||
3398 | del opts['follow'] |
|
3398 | del opts['follow'] | |
3399 |
|
3399 | |||
3400 | if opts.get('graph'): |
|
3400 | if opts.get('graph'): | |
3401 |
return cmdutil.graphlog(ui, repo, |
|
3401 | return cmdutil.graphlog(ui, repo, pats, opts) | |
3402 |
|
3402 | |||
3403 | revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts) |
|
3403 | revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts) | |
3404 | limit = cmdutil.loglimit(opts) |
|
3404 | limit = cmdutil.loglimit(opts) |
General Comments 0
You need to be logged in to leave comments.
Login now