mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
ec304e1d1e
Summary: Git does not have command name prefix matching. We now use `commands.names` config options as a hint to avoid going to the Python land for command prefix matching. It works but is not "correct". If we drop the prefix matching feature, then the problems are gone - fast paths won't need prefix matching aka. the command name list, and slow path (ex. wrong command) can afford loading Python for all command names. `hg d` is the single most used prefix matching command. Assign an explicit alias to it to avoid regression if we do drop prefix matching (or, make that more expensive than resolving commands direcly). Reviewed By: sfilipco Differential Revision: D16733274 fbshipit-source-id: 8904288b8a1ddf1fc6e6ec54ffaa36e503ebdb77 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py |