D7898: merge: don't call update hook when using in-memory context

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Thu Jan 23 12:16:33 EST 2020


marmoute added a comment.
marmoute accepted this revision.


  I don't see any mention of "in-memory" in the current hook documentation. Can you clarify to which section we are thinking about?
  
  Otherwise, yes… we should not call the `update` hook if we are not touching the working directory. Should this hook call be elsewhere ? (for example, at the place where we update the dirstate parents ?

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7898/new/

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

To: martinvonz, #hg-reviewers, marmoute
Cc: marmoute, pulkit, mercurial-devel


More information about the Mercurial-devel mailing list