##// END OF EJS Templates
scmutil: try-delete `.hg/store/requires` if store requirements are empty...
Pulkit Goyal -
r46531:aba4f2c9 default
parent child Browse files
Show More
@@ -1580,6 +1580,9 b' def writereporequirements(repo, requirem'
1580 writerequires(repo.vfs, wcreq)
1580 writerequires(repo.vfs, wcreq)
1581 if storereq is not None:
1581 if storereq is not None:
1582 writerequires(repo.svfs, storereq)
1582 writerequires(repo.svfs, storereq)
1583 elif repo.ui.configbool(b'format', b'usestore'):
1584 # only remove store requires if we are using store
1585 repo.svfs.tryunlink(b'requires')
1583
1586
1584
1587
1585 def writerequires(opener, requirements):
1588 def writerequires(opener, requirements):
General Comments 0
You need to be logged in to leave comments. Login now