Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-code.py @ 10658:95c7c4b7e67a stable
test-merge-default and check-code.py: No "export x=x" in sh
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 08 Mar 2010 03:07:35 +0100 |
parents | 63a9bfad50ff |
children | 1437542a9fd7 6e4cf8319f54 |
line wrap: on
line diff
--- a/contrib/check-code.py Thu Mar 11 16:54:34 2010 -0600 +++ b/contrib/check-code.py Mon Mar 08 03:07:35 2010 +0100 @@ -52,6 +52,7 @@ (r'/bin/', "don't use explicit paths for tools"), (r'\$PWD', "don't use $PWD, use `pwd`"), (r'[^\n]\Z', "no trailing newline"), + (r'export.*=', "don't export and assign at once"), ] testfilters = [