# HG changeset patch # User Yuya Nishihara # Date 1427716597 -32400 # Node ID 40a2cf1c765bf6e10e150b9b6cdaeec6acf7eb26 # Parent 631766d1f57a7f37d66f57797cf8a00822948f73 revset: drop redundant filteredset from right-hand side set of "or" operation Since 5548f558db3d, it should no longer be necessary because the addset can remove duplicates correctly. diff -r 631766d1f57a -r 40a2cf1c765b mercurial/revset.py --- a/mercurial/revset.py Sun May 10 05:11:13 2015 -0700 +++ b/mercurial/revset.py Mon Mar 30 20:56:37 2015 +0900 @@ -360,7 +360,7 @@ def orset(repo, subset, x, y): xl = getset(repo, subset, x) - yl = getset(repo, subset - xl, y) + yl = getset(repo, subset, y) return xl + yl def notset(repo, subset, x): diff -r 631766d1f57a -r 40a2cf1c765b tests/test-revset.t --- a/tests/test-revset.t Sun May 10 05:11:13 2015 -0700 +++ b/tests/test-revset.t Mon Mar 30 20:56:37 2015 +0900 @@ -889,9 +889,7 @@ * set: , - >>> + > 5 3 1 @@ -913,8 +911,7 @@ * set: , - >> + > 0 1 2 @@ -1432,8 +1429,7 @@ , >>> + >> 9 $ try 'd(2:5)'