Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 25129:40a2cf1c765b
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 30 Mar 2015 20:56:37 +0900 |
parents | 5548f558db3d |
children | a94ef7f517e0 |
line wrap: on
line diff
--- 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):