D4820: logtoprocess: sends the canonical command name to the subprocess

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Oct 4 09:15:35 EDT 2018


yuja added a comment.


  >   I tried to pass it to the `ui.log()` but didn't find a clean way to transfer it from `dispatch._dispatch` to `dispatch.dispatch`. I tried storing it in the ui object but without luck.
  >   
  >   Do you think it would be ok to store it in the `request` object?
  
  If that helps, yes. I think using `request` object is better than abusing `ui`,
  given the command lifetime is quite the same as the request.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4820

To: lothiraldan, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list