# HG changeset patch # User Yuya Nishihara # Date 1417615002 -32400 # Node ID c237499a7fba65c88a2da721a22b66df4f39cf4e # Parent d5b1a452cc3256fe0564ab9b832d9cd8071fd415 revset: add 'only' to DoS-safe symbols There is no reason to disable it in hgweb because the same query can be written without using 'only()'. diff -r d5b1a452cc32 -r c237499a7fba mercurial/revset.py --- a/mercurial/revset.py Wed Dec 03 22:52:54 2014 +0900 +++ b/mercurial/revset.py Wed Dec 03 22:56:42 2014 +0900 @@ -1798,6 +1798,7 @@ "min", "modifies", "obsolete", + "only", "origin", "outgoing", "p1",