diff -r 0b61d21f05cc -r ae20f52437e9 mercurial/narrowspec.py --- a/mercurial/narrowspec.py Thu Aug 30 17:43:47 2018 -0700 +++ b/mercurial/narrowspec.py Mon Sep 17 09:49:28 2018 -0700 @@ -23,7 +23,9 @@ # Pattern prefixes that are allowed in narrow patterns. This list MUST # only contain patterns that are fast and safe to evaluate. Keep in mind # that patterns are supplied by clients and executed on remote servers -# as part of wire protocol commands. +# as part of wire protocol commands. That means that changes to this +# data structure influence the wire protocol and should not be taken +# lightly - especially removals. VALID_PREFIXES = ( b'path:', b'rootfilesin:',