在 TortoiseHg Workbench 中按多个条件过滤
Filter by multiple conditions in TortoiseHg Workbench
是否可以在过滤器中组合多个条件?例如。查找特定作者的所有修订以及 .js 文件的修改位置。
我可以按作者 user('Joe')
或文件扩展名 file('**.js')
过滤修订,但不知道如何组合这些。
经过一番摸索,发现:
用 AND 组合条件:
user('Joe') & file('**.js')
user('Joe') and file('**.js')
用 OR 组合条件:
user('Joe') | file('**.js')
user('Joe') or file('**.js')
使用 AND
和 OR
(大写) 的连接条件将不起作用(无效令牌错误)。
对于 TortoiseHg 版本 3.7.3
是否可以在过滤器中组合多个条件?例如。查找特定作者的所有修订以及 .js 文件的修改位置。
我可以按作者 user('Joe')
或文件扩展名 file('**.js')
过滤修订,但不知道如何组合这些。
经过一番摸索,发现:
用 AND 组合条件:
user('Joe') & file('**.js')
user('Joe') and file('**.js')
用 OR 组合条件:
user('Joe') | file('**.js')
user('Joe') or file('**.js')
使用 AND
和 OR
(大写) 的连接条件将不起作用(无效令牌错误)。
对于 TortoiseHg 版本 3.7.3