Show More
@@ -2379,6 +2379,11 b' def command(table):' | |||||
2379 |
|
2379 | |||
2380 | return cmd |
|
2380 | return cmd | |
2381 |
|
2381 | |||
|
2382 | # a list of (ui, repo, otherpeer, opts, missing) functions called by | |||
|
2383 | # commands.outgoing. "missing" is "missing" of the result of | |||
|
2384 | # "findcommonoutgoing()" | |||
|
2385 | outgoinghooks = util.hooks() | |||
|
2386 | ||||
2382 | # a list of (ui, repo) functions called by commands.summary |
|
2387 | # a list of (ui, repo) functions called by commands.summary | |
2383 | summaryhooks = util.hooks() |
|
2388 | summaryhooks = util.hooks() | |
2384 |
|
2389 |
@@ -4355,6 +4355,7 b' def outgoing(ui, repo, dest=None, **opts' | |||||
4355 | cmdutil.checkunsupportedgraphflags([], opts) |
|
4355 | cmdutil.checkunsupportedgraphflags([], opts) | |
4356 | o, other = hg._outgoing(ui, repo, dest, opts) |
|
4356 | o, other = hg._outgoing(ui, repo, dest, opts) | |
4357 | if not o: |
|
4357 | if not o: | |
|
4358 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |||
4358 | return |
|
4359 | return | |
4359 |
|
4360 | |||
4360 | revdag = cmdutil.graphrevs(repo, o, opts) |
|
4361 | revdag = cmdutil.graphrevs(repo, o, opts) | |
@@ -4362,6 +4363,7 b' def outgoing(ui, repo, dest=None, **opts' | |||||
4362 | showparents = [ctx.node() for ctx in repo[None].parents()] |
|
4363 | showparents = [ctx.node() for ctx in repo[None].parents()] | |
4363 | cmdutil.displaygraph(ui, revdag, displayer, showparents, |
|
4364 | cmdutil.displaygraph(ui, revdag, displayer, showparents, | |
4364 | graphmod.asciiedges) |
|
4365 | graphmod.asciiedges) | |
|
4366 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |||
4365 | return 0 |
|
4367 | return 0 | |
4366 |
|
4368 | |||
4367 | if opts.get('bookmarks'): |
|
4369 | if opts.get('bookmarks'): |
@@ -600,6 +600,7 b' def outgoing(ui, repo, dest, opts):' | |||||
600 | limit = cmdutil.loglimit(opts) |
|
600 | limit = cmdutil.loglimit(opts) | |
601 | o, other = _outgoing(ui, repo, dest, opts) |
|
601 | o, other = _outgoing(ui, repo, dest, opts) | |
602 | if not o: |
|
602 | if not o: | |
|
603 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |||
603 | return recurse() |
|
604 | return recurse() | |
604 |
|
605 | |||
605 | if opts.get('newest_first'): |
|
606 | if opts.get('newest_first'): | |
@@ -615,6 +616,7 b' def outgoing(ui, repo, dest, opts):' | |||||
615 | count += 1 |
|
616 | count += 1 | |
616 | displayer.show(repo[n]) |
|
617 | displayer.show(repo[n]) | |
617 | displayer.close() |
|
618 | displayer.close() | |
|
619 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |||
618 | recurse() |
|
620 | recurse() | |
619 | return 0 # exit code is zero since we found outgoing changes |
|
621 | return 0 # exit code is zero since we found outgoing changes | |
620 |
|
622 |
General Comments 0
You need to be logged in to leave comments.
Login now