revsets: add commonancestors revset

Authored by smf.

Description

revsets: add commonancestors revset

This is a method to reproduce "::x and ::y" such that a set can be sent
in. For instance, it'd be convenient to have "::heads()" work like this
but that already means "::x + ::y + ..." for each element in the
"heads()" set.

Therefore, we add the "commonancestors" method to mean "::x and ::y ..."
for each head in the given set.

Details

Committed
smfJun 18 2018, 10:41 PM
Parents
rHG1e3b871313b0: tweakdefaults: enable word-diff by default
Branches
Unknown
Tags
Unknown