master
Joey Hess 2009-10-08 18:00:10 -04:00
parent 3948b42238
commit 4b8ca7cfc1
1 changed files with 8 additions and 4 deletions

View File

@ -520,15 +520,19 @@ ANDed with another object, drops their influences. (But when ORed, combines
them.) Fixes the above, but does it always work?
"(bugs/* or link(patch)) and backlink(index)" =>
`( HardFailReason() | SuccessReason(patch) ) & SuccessReason(index)`` =>
`SuccessReason(patch) & SuccessReason(index)` =>
SuccessReason(patch, index) => right
`( HardFailReason() | SuccessReason(page) ) & SuccessReason(index)`` =>
`SuccessReason(page & SuccessReason(index)` =>
SuccessReason(page, index) => right
"(bugs/* and link(patch)) or backlink(index)" =>
`( HardFailReason() & SuccessReason(patch) ) | SuccessReason(index)`` =>
`( HardFailReason() & SuccessReason(page) ) | SuccessReason(index)`` =>
`HardFailReason() | SuccessReason(index)` =>
`SuccessReason(index)` => right
"!bugs/* and link(patch)" =>
`HardFailReason() | SuccessReason(bugs/foo)` =>
`HardFailReason()` => right
#### High-level Calculation and Storage
Naively calculating the full influence list for a pagespec requires trying