author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Thu, 23 Feb 2023 04:35:16 +0100 | |
changeset 50189 | 6065a8936b00 |
parent 50188 | 39256bee2ed9 |
child 50190 | 34db5692d537 |
mercurial/hg.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/hg.py Thu Feb 23 03:28:44 2023 +0100 +++ b/mercurial/hg.py Thu Feb 23 04:35:16 2023 +0100 @@ -986,7 +986,9 @@ local = destpeer.local() if local: if narrow: - with local.wlock(), local.lock(): + with local.wlock(), local.lock(), local.transaction( + b'narrow-clone' + ): local.setnarrowpats(storeincludepats, storeexcludepats) narrowspec.copytoworkingcopy(local)