changeset 32897 | 799db2af824c |
parent 32642 | c032e137e494 |
child 34687 | e79b6300d97c |
32896:e14484e7f562 | 32897:799db2af824c |
---|---|
203 for hname, cmd in hooks: |
203 for hname, cmd in hooks: |
204 r = res[hname][0] or r |
204 r = res[hname][0] or r |
205 return r |
205 return r |
206 |
206 |
207 def runhooks(ui, repo, htype, hooks, throw=False, **args): |
207 def runhooks(ui, repo, htype, hooks, throw=False, **args): |
208 args = pycompat.byteskwargs(args) |
|
208 res = {} |
209 res = {} |
209 oldstdout = -1 |
210 oldstdout = -1 |
210 |
211 |
211 try: |
212 try: |
212 for hname, cmd in hooks: |
213 for hname, cmd in hooks: |