Mercurial > hg
comparison tests/test-extdiff.t @ 32938:b6776b34e44e
tests: use $PYTHON in #! so we always use the right Python
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 14:27:52 -0400 |
parents | 8a1ff5ed620e |
children | 3b77d4787c18 |
comparison
equal
deleted
inserted
replaced
32937:7fe1f9785c75 | 32938:b6776b34e44e |
---|---|
247 Edit with extdiff -p: | 247 Edit with extdiff -p: |
248 | 248 |
249 Prepare custom diff/edit tool: | 249 Prepare custom diff/edit tool: |
250 | 250 |
251 $ cat > 'diff tool.py' << EOT | 251 $ cat > 'diff tool.py' << EOT |
252 > #!/usr/bin/env python | 252 > #!$PYTHON |
253 > import time | 253 > import time |
254 > time.sleep(1) # avoid unchanged-timestamp problems | 254 > time.sleep(1) # avoid unchanged-timestamp problems |
255 > file('a/a', 'ab').write('edited\n') | 255 > file('a/a', 'ab').write('edited\n') |
256 > file('a/b', 'ab').write('edited\n') | 256 > file('a/b', 'ab').write('edited\n') |
257 > EOT | 257 > EOT |