Show More
@@ -65,7 +65,7 testpats = [ | |||
|
65 | 65 | (r'\$PWD', "don't use $PWD, use `pwd`"), |
|
66 | 66 | (r'[^\n]\Z', "no trailing newline"), |
|
67 | 67 | (r'export.*=', "don't export and assign at once"), |
|
68 |
(r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\ |
|
|
68 | (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\^', "^ must be quoted"), | |
|
69 | 69 | (r'^source\b', "don't use 'source', use '.'"), |
|
70 | 70 | (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), |
|
71 | 71 | (r'ls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), |
@@ -273,7 +273,7 Follow copies/renames: | |||
|
273 | 273 | $ hg mv c d |
|
274 | 274 | $ hg ci --amend -m 'b -> d' |
|
275 | 275 | saved backup bundle to $TESTTMP/.hg/strip-backup/9c207120aa98-amend-backup.hg |
|
276 | $ hg st --rev .^ --copies d | |
|
276 | $ hg st --rev '.^' --copies d | |
|
277 | 277 | A d |
|
278 | 278 | b |
|
279 | 279 | $ hg cp d e |
@@ -281,7 +281,7 Follow copies/renames: | |||
|
281 | 281 | $ hg cp e f |
|
282 | 282 | $ hg ci --amend -m 'f = d' |
|
283 | 283 | saved backup bundle to $TESTTMP/.hg/strip-backup/fda2b3b27b22-amend-backup.hg |
|
284 | $ hg st --rev .^ --copies f | |
|
284 | $ hg st --rev '.^' --copies f | |
|
285 | 285 | A f |
|
286 | 286 | d |
|
287 | 287 |
General Comments 0
You need to be logged in to leave comments.
Login now