equal
deleted
inserted
replaced
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: |