D4483: wireprotov2: add phases to "changesetdata" command

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Sep 18 18:57:04 EDT 2018


martinvonz added a comment.


  > It's worth noting that when phase data is being requested, the
  >  server will also emit changeset records for nodes in the bases
  >  specified by the "noderange" argument. This is to ensure that
  >  phase-only updates for nodes the client has are available to the
  >  client, even if no new changesets will be transferred.
  
  Consider this history:
  
  D draft
  
  |
  |
  
  C draft
  
  |
  |
  
  B draft
  
  |
  |
  
  A public
  
  If the client requests only D, the base would C. Then if the server had moved the phase boundary from A to B, it would still not get it, right? Am I understanding that right?

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list