##// END OF EJS Templates
share: do not write working-copy requirements twice...
Yuya Nishihara -
r46076:a8843eda default
parent child Browse files
Show More
@@ -3537,7 +3537,6 b' def createrepository(ui, path, createopt'
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
General Comments 0
You need to be logged in to leave comments. Login now