##// END OF EJS Templates
share: fix typo to drop 'shared' requirement on unshare...
Yuya Nishihara -
r31211:ecbd378d default
parent child Browse files
Show More
@@ -116,7 +116,7 b' def unshare(ui, repo):'
116 116 sharefile = repo.join('sharedpath')
117 117 util.rename(sharefile, sharefile + '.old')
118 118
119 repo.requirements.discard('sharedpath')
119 repo.requirements.discard('shared')
120 120 repo._writerequirements()
121 121 finally:
122 122 destlock and destlock.release()
@@ -114,6 +114,8 b' test unshare command'
114 114 $ test -d .hg/store
115 115 $ test -f .hg/sharedpath
116 116 [1]
117 $ grep shared .hg/requires
118 [1]
117 119 $ hg unshare
118 120 abort: this is not a shared repo
119 121 [255]
General Comments 0
You need to be logged in to leave comments. Login now