tests/test-hook.out
changeset 2155 ff255b41b4aa
parent 1933 7544700fd931
child 2175 b2ae81a7df29
equal deleted inserted replaced
2153:635653cd73ab 2155:ff255b41b4aa
    87 preoutgoing hook: s=pull
    87 preoutgoing hook: s=pull
    88 preoutgoing.forbid hook
    88 preoutgoing.forbid hook
    89 pulling from ../a
    89 pulling from ../a
    90 searching for changes
    90 searching for changes
    91 abort: preoutgoing.forbid hook exited with status 1
    91 abort: preoutgoing.forbid hook exited with status 1
       
    92 # test python hooks
       
    93 error: preoutgoing.broken hook raised an exception: unsupported operand type(s) for +: 'int' and 'dict'
       
    94 error: preoutgoing.raise hook raised an exception: exception from hook
       
    95 pulling from ../a
       
    96 searching for changes
       
    97 error: preoutgoing.abort hook failed: raise abort from hook
       
    98 abort: raise abort from hook
       
    99 pulling from ../a
       
   100 searching for changes
       
   101 hook args:
       
   102   hooktype preoutgoing
       
   103   source pull
       
   104 abort: preoutgoing.fail hook failed
       
   105 pulling from ../a
       
   106 searching for changes
       
   107 abort: preoutgoing.uncallable hook is invalid ("hooktests.uncallable" is not callable)
       
   108 pulling from ../a
       
   109 searching for changes
       
   110 abort: preoutgoing.nohook hook is invalid ("hooktests.nohook" is not defined)
       
   111 pulling from ../a
       
   112 searching for changes
       
   113 abort: preoutgoing.nomodule hook is invalid ("nomodule" not in a module)
       
   114 pulling from ../a
       
   115 searching for changes
       
   116 abort: preoutgoing.badmodule hook is invalid (import of "nomodule" failed)
       
   117 pulling from ../a
       
   118 searching for changes
       
   119 abort: preoutgoing.unreachable hook is invalid (import of "hooktests.container" failed)
       
   120 pulling from ../a
       
   121 searching for changes
       
   122 hook args:
       
   123   hooktype preoutgoing
       
   124   source pull
       
   125 adding changesets
       
   126 adding manifests
       
   127 adding file changes
       
   128 added 1 changesets with 1 changes to 1 files
       
   129 (run 'hg update' to get a working copy)
       
   130 # make sure --traceback works
       
   131 Traceback (most recent call last):