histedit: select the lowest rev when looking for a root in a revset (bc)

When we specify a revision or a revset we just get the last element from the
list. For revsets this can lead to unintended effects where you specify a
revset like only() but instead histedit selects the highest revision in the
set as root. Therefore we should always use the lowest revision number as
root.

--HG--
extra : rebase_source : 58fe3e113803e4292e3bd73e9c16cf887664d975
repoview: add non-global tags to candidate list for blocking hidden changesets

Previously, only bookmarks would be considered for blocking a changeset from
being hidden. Now, we also consider non-global tags. This is helpful if we have
local tags that might be hard to find once they are hidden, or tag that are
added by extensions (e.g. hggit or remotebranches).

--HG--
extra : rebase_source : d66c99f68f3e50292c9ba5e172e3437895636159