hgext/__init__.py
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
Mon, 01 Oct 2018 09:58:42 -0400
changeset 39990 c9026e9297e3
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
identify: only query remote bookmarks if needed Instead of all the time when operating on a remote repo. This perf regression was introduced in 15a79ac823e8, in 4.3. This datahint method returns nothing for -Tjson, -Tpickle, -Tdebug --config ui.formatdebug=true and --config ui.formatjson, so the bookmarks won't show up. I don't know what these formatters are for. plainformatter and templateformatter work properly, and the few other uses of datahint should have the same kind of problem. There is further weirdness where "--template '{node}'" is not enough to avoid querying the bookmarks, you also need to pass --id or -q. Differential Revision: https://phab.mercurial-scm.org/D4819

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)