revset: expand bookmark(.) to the active bookmark
We do that in several places. I'm not pretty sure if "literal:." should be
expanded or not, so it's disabled for now.
pycompat: remove membershiprange which is no longer used
Backed out changeset
45e05d39d9ce