hgext/share.py
changeset 31334 553680d1b654
parent 31212 344121b30f32
child 32337 46ba2cdda476
equal deleted inserted replaced
31333:f897a088377c 31334:553680d1b654
   111         # not pointed to by changesets, thus causing verify to
   111         # not pointed to by changesets, thus causing verify to
   112         # fail
   112         # fail
   113 
   113 
   114         destlock = hg.copystore(ui, repo, repo.path)
   114         destlock = hg.copystore(ui, repo, repo.path)
   115 
   115 
   116         sharefile = repo.join('sharedpath')
   116         sharefile = repo.vfs.join('sharedpath')
   117         util.rename(sharefile, sharefile + '.old')
   117         util.rename(sharefile, sharefile + '.old')
   118 
   118 
   119         repo.requirements.discard('shared')
   119         repo.requirements.discard('shared')
   120         repo.requirements.discard('relshared')
   120         repo.requirements.discard('relshared')
   121         repo._writerequirements()
   121         repo._writerequirements()