tests/test-hook.t
changeset 13207 1775382ff833
parent 13121 bf763946f8b0
child 13404 31a256ffe9e5
equal deleted inserted replaced
13205:18f0084a97c8 13207:1775382ff833
    66   commit.b hook: HG_NODE=07f3376c1e655977439df2a814e3cc14b27abac2 HG_PARENT1=ee9deb46ab31e4cc3310f3cf0c3d668e4d8fffc2 HG_PARENT2=ab228980c14deea8b9555d91c9581127383e40fd 
    66   commit.b hook: HG_NODE=07f3376c1e655977439df2a814e3cc14b27abac2 HG_PARENT1=ee9deb46ab31e4cc3310f3cf0c3d668e4d8fffc2 HG_PARENT2=ab228980c14deea8b9555d91c9581127383e40fd 
    67 
    67 
    68 test generic hooks
    68 test generic hooks
    69 
    69 
    70   $ hg id
    70   $ hg id
    71   pre-identify hook: HG_ARGS=id HG_OPTS={'tags': None, 'rev': '', 'num': None, 'branch': None, 'id': None} HG_PATS=[] 
    71   pre-identify hook: HG_ARGS=id HG_OPTS={'branch': None, 'id': None, 'num': None, 'rev': '', 'tags': None} HG_PATS=[] 
    72   warning: pre-identify hook exited with status 1
    72   warning: pre-identify hook exited with status 1
    73   [1]
    73   [1]
    74   $ hg cat b
    74   $ hg cat b
    75   pre-cat hook: HG_ARGS=cat b HG_OPTS={'rev': '', 'decode': None, 'exclude': [], 'output': '', 'include': []} HG_PATS=['b'] 
    75   pre-cat hook: HG_ARGS=cat b HG_OPTS={'decode': None, 'exclude': [], 'include': [], 'output': '', 'rev': ''} HG_PATS=['b'] 
    76   b
    76   b
    77   post-cat hook: HG_ARGS=cat b HG_OPTS={'rev': '', 'decode': None, 'exclude': [], 'output': '', 'include': []} HG_PATS=['b'] HG_RESULT=0 
    77   post-cat hook: HG_ARGS=cat b HG_OPTS={'decode': None, 'exclude': [], 'include': [], 'output': '', 'rev': ''} HG_PATS=['b'] HG_RESULT=0 
    78 
    78 
    79   $ cd ../b
    79   $ cd ../b
    80   $ hg pull ../a
    80   $ hg pull ../a
    81   prechangegroup hook: HG_SOURCE=pull HG_URL=file: 
    81   prechangegroup hook: HG_SOURCE=pull HG_URL=file: 
    82   changegroup hook: HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_SOURCE=pull HG_URL=file: 
    82   changegroup hook: HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_SOURCE=pull HG_URL=file: