sapling/hgext/largefiles
FUJIWARA Katsunori 22be41c2e5 largefiles: use "summaryremotehooks" to avoid redundant outgoing check
Before this patch, "hg summary --remote --large" invokes
"findcommonoutgoing()" not only in "commands.summary()" but also in
"overrides.overridesummary()" (via "getoutgoinglfiles()"). The latter
is redundant.

This patch uses "summaryremotehooks" to avoid redundant outgoing check.

Newly introduced function "overrides.summaryremotehook()" is
registered into "summaryremotehooks" to get the result of outgoing
check in "commands.summary()".

It invokes "lfutil.getlfilestoupload()" directly with the result of
outgoing check to avoid redundant outgoing check in
"getoutgoinglfiles()".
2014-04-16 00:37:24 +09:00
..
__init__.py hg: introduce "wirepeersetupfuncs" to setup wire peer by extensions (issue4109) 2014-03-29 01:20:07 +09:00
basestore.py largefiles: hide passwords in URLs in ui messages 2013-10-17 16:13:15 +08:00
CONTRIBUTORS hgext: add largefiles extension 2011-09-24 17:35:45 +02:00
lfcommands.py i18n: fix "% inside _()" problems 2014-04-01 02:46:03 +09:00
lfutil.py largefiles: centralize the logic to get outgoing largefiles 2014-04-16 00:37:24 +09:00
localstore.py largefiles: don't close the fd passed to store._getfile 2013-04-15 23:47:04 +02:00
overrides.py largefiles: use "summaryremotehooks" to avoid redundant outgoing check 2014-04-16 00:37:24 +09:00
proto.py largefiles: don't add extra \n when displaying remote messages in putlfile 2013-10-24 01:49:56 +08:00
remotestore.py check-code: disallow use of dict(key=value) construction 2014-03-12 13:31:27 -04:00
reposetup.py largefiles: reuse "findcommonoutgoing()" result at "hg push" 2014-04-16 00:37:24 +09:00
uisetup.py largefiles: use "summaryremotehooks" to avoid redundant outgoing check 2014-04-16 00:37:24 +09:00
wirestore.py largefiles: stat all largefiles in one batch before downloading 2013-04-15 23:37:43 +02:00