Filter by multiple conditions in TortoiseHg Workbench

1.6k views Asked by At

Is it possible to combine multiple conditions in filter? E.g. Find all revisions from certain author AND where was .js file modified.

I can filter revisions either by author user('Joe') or by file extension file('**.js'), but don't know how to combine these.

enter image description here

1

There are 1 answers

0
mimo On BEST ANSWER

After some Trail and Error, found it:

Combine conditions with AND:

user('Joe') & file('**.js')

user('Joe') and file('**.js')

Combine conditions with OR:

user('Joe') | file('**.js')

user('Joe') or file('**.js')

Joining conditions with AND and OR (uppercase) will not work (Invalid token error).

For TortoiseHg version 3.7.3