D5251: share: reload repo after adjusting it in postshare()

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Fri Nov 9 22:30:13 EST 2018


mharbison72 added a comment.


  >   I also don't know what a "locally referenced subrepo"
  
  Basically, if you share the top level repo but don't update to a revision with a subrepo, the share command doesn't recurse and create a local subrepo under the share.  That prevented share + update from the new share, if the update referenced the (missing) subrepo.  The test was mostly just a random edge case to ensure things didn't explode, but it's better that the command actually does something useful.

REPOSITORY
  rHG Mercurial

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

To: martinvonz, #hg-reviewers, mharbison72
Cc: mercurial-devel


More information about the Mercurial-devel mailing list