tests/printenv.py
changeset 48875 6000f5b25c9b
parent 45830 c102b704edb5
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
    10 #   - <hookname> is a mandatory argument (e.g. "changegroup")
    10 #   - <hookname> is a mandatory argument (e.g. "changegroup")
    11 #   - [exit] is the exit code of the hook (default: 0)
    11 #   - [exit] is the exit code of the hook (default: 0)
    12 #   - [output] is the name of the output file (default: use sys.stdout)
    12 #   - [output] is the name of the output file (default: use sys.stdout)
    13 #              the file will be opened in append mode.
    13 #              the file will be opened in append mode.
    14 #
    14 #
    15 from __future__ import absolute_import
       
    16 import argparse
    15 import argparse
    17 import os
    16 import os
    18 import sys
    17 import sys
    19 
    18 
    20 try:
    19 try: