Mercurial > hg-stable
changeset 45514:a8843eda9a35
share: do not write working-copy requirements twice
Follows up d252f51ab032. Maybe it is a copy-paste error.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 18 Sep 2020 20:19:52 +0900 |
parents | c7fe0dfb5312 |
children | e3df1f560d9a |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Sep 17 22:45:51 2020 -0700 +++ b/mercurial/localrepo.py Fri Sep 18 20:19:52 2020 +0900 @@ -3537,7 +3537,6 @@ # For new shared repository, we don't need to write the store # requirements as they are already present in store requires if storereq and b'sharedrepo' not in createopts: - scmutil.writerequires(hgvfs, wcreq) storevfs = vfsmod.vfs(hgvfs.join(b'store'), cacheaudited=True) scmutil.writerequires(storevfs, storereq)