Mercurial > hg
comparison relnotes/5.2 @ 50520:0558866957fa
stream-clone: bail-out earlier if destination repo is not empty
The `canperformstreamclone` function is bit messy. However it seems clearer to
me to process the very generic condition about "can we consider a stream-clone
at all", before checking if a stream-clone is requested and if a compatible
protocol can be negotiated with the server.
So I am doing some gratuitous movement so reorder conditional.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 20 May 2023 01:17:27 +0200 |
parents | a825ba8eb0a1 |
children |
comparison
equal
deleted
inserted
replaced
50519:3c0da0fa0eed | 50520:0558866957fa |
---|