Mercurial > hg
comparison tests/printenv.py @ 17018:e7fdfc702d9f
tests: consistently use printenv.py the same MSYS/Windows-compatible way
This will remove some reasons some tests are disabled on Windows.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 21 Jun 2012 03:05:02 +0200 |
parents | 9c892c830a72 |
children | a372f7b4463b |
comparison
equal
deleted
inserted
replaced
17017:953faba28e91 | 17018:e7fdfc702d9f |
---|---|
1 # simple script to be used in hooks | 1 # simple script to be used in hooks |
2 # | 2 # |
3 # put something like this in the repo .hg/hgrc: | 3 # put something like this in the repo .hg/hgrc: |
4 # | 4 # |
5 # [hooks] | 5 # [hooks] |
6 # changegroup = python "$TESTDIR"/printenv.py <hookname> [exit] [output] | 6 # changegroup = python "$TESTDIR/printenv.py" <hookname> [exit] [output] |
7 # | 7 # |
8 # - <hookname> is a mandatory argument (e.g. "changegroup") | 8 # - <hookname> is a mandatory argument (e.g. "changegroup") |
9 # - [exit] is the exit code of the hook (default: 0) | 9 # - [exit] is the exit code of the hook (default: 0) |
10 # - [output] is the name of the output file (default: use sys.stdout) | 10 # - [output] is the name of the output file (default: use sys.stdout) |
11 # the file will be opened in append mode. | 11 # the file will be opened in append mode. |