D1753: streamclone: preserve remote phases (issue5648)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Dec 28 08:14:39 EST 2017


yuja added inline comments.

INLINE COMMENTS

> indygreg wrote in streamclone.py:191
> Maybe.
> 
> My reasoning here was that if the remote advertises phases data, then it is phases aware and the code below will ensure phases are adjusted appropriately. We certainly could special case the mixed phase + publishing case and skip all phase adjustment.

Perhaps the remote sends back actual phases data even if it is a publishing server.
That's probably why `exchange._pullapplyphases()` checks 'publishing' flag.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list