##// END OF EJS Templates
revset: drop redundant filteredset from right-hand side set of "or" operation...
Yuya Nishihara -
r25129:40a2cf1c default
parent child Browse files
Show More
@@ -360,7 +360,7 b' def andset(repo, subset, x, y):'
360
360
361 def orset(repo, subset, x, y):
361 def orset(repo, subset, x, y):
362 xl = getset(repo, subset, x)
362 xl = getset(repo, subset, x)
363 yl = getset(repo, subset - xl, y)
363 yl = getset(repo, subset, y)
364 return xl + yl
364 return xl + yl
365
365
366 def notset(repo, subset, x):
366 def notset(repo, subset, x):
@@ -889,9 +889,7 b' test that `or` operation skips duplicate'
889 * set:
889 * set:
890 <addset
890 <addset
891 <baseset [5, 3, 1]>,
891 <baseset [5, 3, 1]>,
892 <filteredset
892 <generatorset+>>
893 <filteredset
894 <fullreposet+ 0:9>>>>
895 5
893 5
896 3
894 3
897 1
895 1
@@ -913,8 +911,7 b' test that `or` operation skips duplicate'
913 * set:
911 * set:
914 <addset+
912 <addset+
915 <generatorset+>,
913 <generatorset+>,
916 <filteredset
914 <baseset [5, 3, 1]>>
917 <baseset [5, 3, 1]>>>
918 0
915 0
919 1
916 1
920 2
917 2
@@ -1432,8 +1429,7 b' far away.'
1432 <addset
1429 <addset
1433 <baseset [9]>,
1430 <baseset [9]>,
1434 <filteredset
1431 <filteredset
1435 <filteredset
1432 <fullreposet+ 0:9>>>
1436 <fullreposet+ 0:9>>>>
1437 9
1433 9
1438
1434
1439 $ try 'd(2:5)'
1435 $ try 'd(2:5)'
General Comments 0
You need to be logged in to leave comments. Login now