##// END OF EJS Templates
narrowspec: document constraints when validating patterns...
Augie Fackler -
r36115:9c55bbc2 default
parent child Browse files
Show More
@@ -83,7 +83,11 b' def _numlines(s):'
83 return len((s + 'x').splitlines())
83 return len((s + 'x').splitlines())
84
84
85 def _validatepattern(pat):
85 def _validatepattern(pat):
86 """Validates the pattern and aborts if it is invalid."""
86 """Validates the pattern and aborts if it is invalid.
87
88 Patterns are stored in the narrowspec as newline-separated
89 POSIX-style bytestring paths. There's no escaping.
90 """
87
91
88 # We use newlines as separators in the narrowspec file, so don't allow them
92 # We use newlines as separators in the narrowspec file, so don't allow them
89 # in patterns.
93 # in patterns.
General Comments 0
You need to be logged in to leave comments. Login now