sapling/edenscm
Jun Wu ec304e1d1e commands: assign 'd' alias to 'diff'
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
2019-08-19 19:27:29 -07:00
..
hgdemandimport demandimport: make sqlite3 non-lazy 2019-08-19 12:26:21 -07:00
hgext commands: assign 'd' alias to 'diff' 2019-08-19 19:27:29 -07:00
mercurial commands: assign 'd' alias to 'diff' 2019-08-19 19:27:29 -07:00
__init__.py edenscm: move sys.path handling to top-level edenscm 2019-07-25 17:43:41 -07:00