Patchwork [3,of,3] revsetbenchmark: add rebase related revset to the benchmark list

login
register
mail settings
Submitter Pierre-Yves David
Date Sept. 24, 2014, 12:31 a.m.
Message ID <f89f43fb1d53add34bae.1411518678@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/5946/
State Accepted
Headers show

Comments

Pierre-Yves David - Sept. 24, 2014, 12:31 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1411517547 25200
#      Tue Sep 23 17:12:27 2014 -0700
# Node ID f89f43fb1d53add34bae368fcd0240b02d7d915a
# Parent  d557d5e8020445bdc3ab5f5b0763eca00d111c04
revsetbenchmark: add rebase related revset to the benchmark list
Augie Fackler - Sept. 24, 2014, 2:11 p.m.
On Tue, Sep 23, 2014 at 05:31:18PM -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1411517547 25200
> #      Tue Sep 23 17:12:27 2014 -0700
> # Node ID f89f43fb1d53add34bae368fcd0240b02d7d915a
> # Parent  d557d5e8020445bdc3ab5f5b0763eca00d111c04
> revsetbenchmark: add rebase related revset to the benchmark list

Queued these, thanks.

>
> diff --git a/contrib/revsetbenchmarks.txt b/contrib/revsetbenchmarks.txt
> --- a/contrib/revsetbenchmarks.txt
> +++ b/contrib/revsetbenchmarks.txt
> @@ -26,5 +26,7 @@ max(::(tip~20) - obsolete())
>  roots((0:tip)::)
>  (not public() - obsolete())
>  (_intlist('20000\x0020001')) and merge()
>  parents(20000)
>  (20000::) - (20000)
> +# The one below is used by rebase
> +(children(ancestor(tip~5, tip)) and ::(tip~5))::
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/contrib/revsetbenchmarks.txt b/contrib/revsetbenchmarks.txt
--- a/contrib/revsetbenchmarks.txt
+++ b/contrib/revsetbenchmarks.txt
@@ -26,5 +26,7 @@  max(::(tip~20) - obsolete())
 roots((0:tip)::)
 (not public() - obsolete())
 (_intlist('20000\x0020001')) and merge()
 parents(20000)
 (20000::) - (20000)
+# The one below is used by rebase
+(children(ancestor(tip~5, tip)) and ::(tip~5))::