tests/test-hook.t
changeset 15580 5a7733563c2e
parent 15445 7cbb81c47025
child 15650 5b26667fc4d3
equal deleted inserted replaced
15578:db0e277bdd37 15580:5a7733563c2e
    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={'bookmarks': None, 'branch': None, 'id': None, 'num': None, 'rev': '', 'tags': None} HG_PATS=[] 
    71   pre-identify hook: HG_ARGS=id HG_OPTS={'bookmarks': None, 'branch': None, 'id': None, 'insecure': None, 'num': None, 'remotecmd': '', 'rev': '', 'ssh': '', '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={'decode': None, 'exclude': [], 'include': [], 'output': '', 'rev': ''} 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