mercurial/localrepo.py
changeset 45504 a8843eda9a35
parent 45490 0ce6af73f481
child 45519 9b16bb3b2349
equal deleted inserted replaced
45502:c7fe0dfb5312 45504:a8843eda9a35
  3535     # If there are store requirements and the current repository
  3535     # If there are store requirements and the current repository
  3536     # is not a shared one, write stored requirements
  3536     # is not a shared one, write stored requirements
  3537     # For new shared repository, we don't need to write the store
  3537     # For new shared repository, we don't need to write the store
  3538     # requirements as they are already present in store requires
  3538     # requirements as they are already present in store requires
  3539     if storereq and b'sharedrepo' not in createopts:
  3539     if storereq and b'sharedrepo' not in createopts:
  3540         scmutil.writerequires(hgvfs, wcreq)
       
  3541         storevfs = vfsmod.vfs(hgvfs.join(b'store'), cacheaudited=True)
  3540         storevfs = vfsmod.vfs(hgvfs.join(b'store'), cacheaudited=True)
  3542         scmutil.writerequires(storevfs, storereq)
  3541         scmutil.writerequires(storevfs, storereq)
  3543 
  3542 
  3544     # Write out file telling readers where to find the shared store.
  3543     # Write out file telling readers where to find the shared store.
  3545     if b'sharedrepo' in createopts:
  3544     if b'sharedrepo' in createopts: