# HG changeset patch # User Mads Kiilerich # Date 1335137966 -7200 # Node ID 3c4910364797f90d4a35a8913aa4cf4317d2440e # Parent a5d359b3927a8c92a76f81e2b66ec04fc9c096ab tests: ^ must be quoted when used on solaris sh The check was broken when it was introduced in 6e4cf8319f54. diff -r a5d359b3927a -r 3c4910364797 contrib/check-code.py --- a/contrib/check-code.py Mon Apr 23 01:39:26 2012 +0200 +++ b/contrib/check-code.py Mon Apr 23 01:39:26 2012 +0200 @@ -65,7 +65,7 @@ (r'\$PWD', "don't use $PWD, use `pwd`"), (r'[^\n]\Z', "no trailing newline"), (r'export.*=', "don't export and assign at once"), - (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\\^', "^ must be quoted"), + (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\^', "^ must be quoted"), (r'^source\b', "don't use 'source', use '.'"), (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), (r'ls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), diff -r a5d359b3927a -r 3c4910364797 tests/test-commit-amend.t --- a/tests/test-commit-amend.t Mon Apr 23 01:39:26 2012 +0200 +++ b/tests/test-commit-amend.t Mon Apr 23 01:39:26 2012 +0200 @@ -273,7 +273,7 @@ $ hg mv c d $ hg ci --amend -m 'b -> d' saved backup bundle to $TESTTMP/.hg/strip-backup/9c207120aa98-amend-backup.hg - $ hg st --rev .^ --copies d + $ hg st --rev '.^' --copies d A d b $ hg cp d e @@ -281,7 +281,7 @@ $ hg cp e f $ hg ci --amend -m 'f = d' saved backup bundle to $TESTTMP/.hg/strip-backup/fda2b3b27b22-amend-backup.hg - $ hg st --rev .^ --copies f + $ hg st --rev '.^' --copies f A f d