Page MenuHomePhabricator

upgrade: add support do downgrade share safe mode
Needs ReviewPublic

Authored by pulkit on Sat, Nov 21, 8:07 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

In previous patch we added support to upgrade current repository to use share
safe mode. This patch adds support to downgrade to remove share-safe mode.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

pulkit created this revision.Sat, Nov 21, 8:07 AM

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.

Alphare added inline comments.
mercurial/upgrade.py
1474

Not sure what Re-share existing shares means. Is it a suggestion?