mercurial/hook.py
changeset 23270 41c03b7592ed
parent 23268 0fd3862ef425
child 23426 19ebd2f88fc7
equal deleted inserted replaced
23269:d9d8d2e0f701 23270:41c03b7592ed
   129 
   129 
   130     if repo:
   130     if repo:
   131         cwd = repo.root
   131         cwd = repo.root
   132     else:
   132     else:
   133         cwd = os.getcwd()
   133         cwd = os.getcwd()
   134     r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout)
   134     r = ui.system(cmd, environ=env, cwd=cwd)
   135 
   135 
   136     duration = time.time() - starttime
   136     duration = time.time() - starttime
   137     ui.log('exthook', 'exthook-%s: %s finished in %0.2f seconds\n',
   137     ui.log('exthook', 'exthook-%s: %s finished in %0.2f seconds\n',
   138            name, cmd, duration)
   138            name, cmd, duration)
   139     if r:
   139     if r: