changeset 21046 | cc13addbd62b |
parent 21018 | c848bfd02366 |
child 21813 | c2262004c2e2 |
--- a/mercurial/util.py Wed Apr 16 00:37:24 2014 +0900 +++ b/mercurial/util.py Wed Apr 16 00:37:24 2014 +0900 @@ -1996,8 +1996,10 @@ def __call__(self, *args): self._hooks.sort(key=lambda x: x[0]) + results = [] for source, hook in self._hooks: - hook(*args) + results.append(hook(*args)) + return results def debugstacktrace(msg='stacktrace', skip=0, f=sys.stderr, otherf=sys.stdout): '''Writes a message to f (stderr) with a nicely formatted stacktrace.