from <http://selenic.com/pipermail/mercurial-devel/2012-October/045153.html> > This complex code can be replaced by two simple revset calls. It's lovely to see how the elegance of revsets works _inside_ the code! /dps -- test signature -- please apply at front gate on Tuesdays only.