D613: dispatch: store the command name which is going to run in ui object

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Sep 7 10:17:21 EDT 2017


yuja added a comment.


  In https://phab.mercurial-scm.org/D613#10467, @quark wrote:
  
  > This is for directaccess as directaccess originally designed (https://www.mercurial-scm.org/repo/evolve/rev/b8f880d417)
  >
  > It may be cleaner to use a flag of `scmutil.rev*` instead. So commands themselves could decide whether to enable directaccess or not.
  
  
  Perhaps it could be a read-only flag (or class) set to repo object?

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers
Cc: quark, yuja, mercurial-devel


More information about the Mercurial-devel mailing list