changeset 23467:c237499a7fba

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()'.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 03 Dec 2014 22:56:42 +0900
parents d5b1a452cc32
children ee311681e591
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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",