Mercurial > hg
comparison tests/test-hooklib-reject_new_heads.t @ 50521:f697af015683
stream-clone: bail-out earlier if pull is partial
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:19:26 +0200 |
parents | 4cabeea6d214 |
children |
comparison
equal
deleted
inserted
replaced
50520:0558866957fa | 50521:f697af015683 |
---|