# HG changeset patch # User Martin Geisler # Date 2011-03-02 13:52:31 # Node ID 121c89dd7983171a8bf30ad75104c5b92196bc30 # Parent 6441661631166cc954b439caa2cf6271a7f8101b check-code: catch "echo > $HGRCPATH" too Make error message consistent with the other error messages. diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -66,7 +66,7 @@ testpats = [ (r'^source\b', "don't use 'source', use '.'"), (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), (r'ls\s+[^|-]+\s+-', "options to 'ls' must come before filenames"), - (r'[^>]>\s*\$HGRCPATH <]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), ] testfilters = [