Show More
@@ -457,7 +457,9 b' def postshare(sourcerepo, destrepo, defa' | |||||
457 | template = b'[paths]\ndefault = %s\n' |
|
457 | template = b'[paths]\ndefault = %s\n' | |
458 | destrepo.vfs.write(b'hgrc', util.tonativeeol(template % default)) |
|
458 | destrepo.vfs.write(b'hgrc', util.tonativeeol(template % default)) | |
459 | if requirements.NARROW_REQUIREMENT in sourcerepo.requirements: |
|
459 | if requirements.NARROW_REQUIREMENT in sourcerepo.requirements: | |
460 | with destrepo.wlock(): |
|
460 | with destrepo.wlock(), destrepo.lock(), destrepo.transaction( | |
|
461 | b"narrow-share" | |||
|
462 | ): | |||
461 | narrowspec.copytoworkingcopy(destrepo) |
|
463 | narrowspec.copytoworkingcopy(destrepo) | |
462 |
|
464 | |||
463 |
|
465 |
General Comments 0
You need to be logged in to leave comments.
Login now