revset: move subscript relation functions to its own dict

Authored by av6.

Description

revset: move subscript relation functions to its own dict

This will help adding more relation functions in extensions.

We skip short names (that consist of one letter) while raising
UnknownIdentifier because such names cannot be suggested anyway: the similarity
cutoff in dispatch._getsimilar() is currently 0.6.

Details

Committed
av6Dec 13 2018, 4:18 AM
Parents
rHGfcdff048a8e5: py3: teach run-tests.py to handle exe with spaces when --local isn't specified
Branches
Unknown
Tags
Unknown