[Commented On] D9358: upgrade: add support do downgrade share safe mode

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Nov 27 12:18:51 UTC 2020


pulkit added a comment.


  In D9358#140795 <https://phab.mercurial-scm.org/D9358#140795>, @mharbison72 wrote:
  
  > I haven't followed all of the sharesafe stuff, but should the nonsharedhgrc be folded into the hgrc when downgrading or unsharing?  I don't see that, at least in the unshare code.
  
  There is no need for that because whether the repository is shared or not, we always try to read `hgrc-not-shared` always. https://www.mercurial-scm.org/repo/hg-committed/file/default/mercurial/localrepo.py#l735

REPOSITORY
  rHG Mercurial

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

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

To: pulkit, #hg-reviewers
Cc: Alphare, mharbison72, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201127/815bcc1d/attachment-0002.html>


More information about the Mercurial-patches mailing list