[PATCH 1 of 4] revset: make repo.anyrevs accept customized alias override

Jun Wu quark at fb.com
Sat Jun 24 12:00:31 EDT 2017


Excerpts from Yuya Nishihara's message of 2017-06-24 17:40:14 +0900:
> Can you rename 'local' to 'localaliases' or something in V2? It seems too
> ambiguous. 'user' might not be a good name, but at least it means
> processing "user revset."

Sure. The name was "inspired" by "code.interact(local=objects)". I didn't
realize it's not clear whether "local" is bool or not given "user" is bool.

> If V2 isn't planned, I can rename it in flight. (I don't follow the IRC
> discussion.)

This series was not written lightly, like "defineparents" has been rewritten
3 times taking me 2 full days to reach the elegance level that satisfies me.
Therefore, although it's a non-trivial change, it's less like RFC but more
of a thoughtful refactoring. I did wish it to be accepted first time. But
since there are 2 comments already and I have discovered another small nit,
I'll send V2 next Tuesday.


More information about the Mercurial-devel mailing list