diff -r e1d035905b2e -r ecbd378d9a7e hgext/share.py --- a/hgext/share.py Fri Mar 03 02:57:06 2017 +0900 +++ b/hgext/share.py Fri Mar 03 00:11:18 2017 +0900 @@ -116,7 +116,7 @@ sharefile = repo.join('sharedpath') util.rename(sharefile, sharefile + '.old') - repo.requirements.discard('sharedpath') + repo.requirements.discard('shared') repo._writerequirements() finally: destlock and destlock.release()