D7481: localrepo: recognize trivial "null" queries in `anyrev`

Yuya Nishihara yuya at tcha.org
Sun Nov 24 04:55:43 UTC 2019


> +        if specs == [b'null']:
> +            return revset.baseset([nullrev])

This breaks `--config revsetalias.null=<whatever>`. Nobody would care, but
I don't know why we're so hard to optimize `-r null` query.



More information about the Mercurial-devel mailing list