From patchwork Sat Aug 30 13:17:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: revsetbenchmark: add revset with lazyset subtraction From: Gregory Szorc X-Patchwork-Id: 5637 Message-Id: To: mercurial-devel@selenic.com Date: Sat, 30 Aug 2014 15:17:49 +0200 # HG changeset patch # User Gregory Szorc # Date 1409404657 -7200 # Sat Aug 30 15:17:37 2014 +0200 # Node ID d7145115338e8b7fc90aeba50b78f289e7ae682e # Parent bdc0e04df243d3995c7266bf7d138fddd0449ba6 revsetbenchmark: add revset with lazyset subtraction The added revset is used by obsolescence and currently results in recursion in __contains__ between 2 lazysets. We should have coverage of this revset. diff --git a/contrib/revsetbenchmarks.txt b/contrib/revsetbenchmarks.txt --- a/contrib/revsetbenchmarks.txt +++ b/contrib/revsetbenchmarks.txt @@ -21,4 +21,5 @@ public() draft() :10000 and draft() max(::(tip~20) - obsolete()) roots((0:tip)::) +(not public() - obsolete())