API: support for transplanting and squashing revsets