Show More
@@ -338,7 +338,7 b' Modify end of plain file, no EOL' | |||
|
338 | 338 | |
|
339 | 339 | Record showfunc should preserve function across sections |
|
340 | 340 | |
|
341 | $ cat > f1.py <<EOF | |
|
341 | $ cat > f1.py <<NO_CHECK_EOF | |
|
342 | 342 | > def annotate(ui, repo, *pats, **opts): |
|
343 | 343 | > """show changeset information by line for each file |
|
344 | 344 | > |
@@ -372,10 +372,10 b' Record showfunc should preserve function' | |||
|
372 | 372 | > .. container:: verbose |
|
373 | 373 | > |
|
374 | 374 | > Valid types are: |
|
375 | > EOF | |
|
375 | > NO_CHECK_EOF | |
|
376 | 376 | $ hg add f1.py |
|
377 | 377 | $ hg commit -m funcs |
|
378 | $ cat > f1.py <<EOF | |
|
378 | $ cat > f1.py <<NO_CHECK_EOF | |
|
379 | 379 | > def annotate(ui, repo, *pats, **opts): |
|
380 | 380 | > """show changeset information by line for each file |
|
381 | 381 | > |
@@ -405,7 +405,7 b' Record showfunc should preserve function' | |||
|
405 | 405 | > .. container:: verbose |
|
406 | 406 | > |
|
407 | 407 | > Valid types are: |
|
408 | > EOF | |
|
408 | > NO_CHECK_EOF | |
|
409 | 409 | $ hg commit -i -m interactive <<EOF |
|
410 | 410 | > y |
|
411 | 411 | > y |
@@ -1251,9 +1251,9 b' Broken disabled extension and command:' | |||
|
1251 | 1251 | |
|
1252 | 1252 | $ mkdir hgext |
|
1253 | 1253 | $ echo > hgext/__init__.py |
|
1254 | $ cat > hgext/broken.py <<EOF | |
|
1254 | $ cat > hgext/broken.py <<NO_CHECK_EOF | |
|
1255 | 1255 | > "broken extension' |
|
1256 | > EOF | |
|
1256 | > NO_CHECK_EOF | |
|
1257 | 1257 | $ cat > path.py <<EOF |
|
1258 | 1258 | > import os, sys |
|
1259 | 1259 | > sys.path.insert(0, os.environ['HGEXTPATH']) |
@@ -35,9 +35,9 b' Testing hghave extensibility for third p' | |||
|
35 | 35 | (terminate with exit code 2 at failure of importing hghaveaddon.py) |
|
36 | 36 | |
|
37 | 37 | $ rm hghaveaddon.* |
|
38 | $ cat > hghaveaddon.py <<EOF | |
|
38 | $ cat > hghaveaddon.py <<NO_CHECK_EOF | |
|
39 | 39 | > importing this file should cause syntax error |
|
40 | > EOF | |
|
40 | > NO_CHECK_EOF | |
|
41 | 41 | |
|
42 | 42 | $ hghave custom |
|
43 | 43 | failed to import hghaveaddon.py from '.': invalid syntax (hghaveaddon.py, line 1) |
General Comments 0
You need to be logged in to leave comments.
Login now