Mercurial > hg
comparison mercurial/cmdutil.py @ 21051:1004d3cd65fd
outgoing: introduce "outgoinghooks" to avoid redundant outgoing check
This patch introduces "outgoinghooks" to avoid redundant outgoing
check for "hg outgoing" in other than "commands.outgoing" (or utility
functions used by it).
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 16 Apr 2014 00:37:24 +0900 |
parents | f0003f989e72 |
children | e5ad36a845af |
comparison
equal
deleted
inserted
replaced
21050:025ec0f08cb6 | 21051:1004d3cd65fd |
---|---|
2377 return func | 2377 return func |
2378 return decorator | 2378 return decorator |
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 |
2385 # a list of (ui, repo, opts, changes) functions called by commands.summary. | 2390 # a list of (ui, repo, opts, changes) functions called by commands.summary. |
2386 # | 2391 # |