tests/binfile.bin
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 03 Jun 2015 14:29:11 -0700
branchstable
changeset 25425 9263f86b9681
parent 3368 751df21dad72
permissions -rw-r--r--
pull: avoid race condition with 'hg pull --rev name --update' (issue4706) The previous scheme was: 1) lookup node for all pulled revision, 2) pull said node 3) lookup the node of the checkout target 4) update the repository there. If the remote repo changes between (1) and (3), the resolved name will be different and (3) crash. There is actually no need for a remote lookup during (3), we could just set the value in (1). This prevent the race condition and save a possible network roundtrip.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3368
751df21dad72 Add test for git binary diff support
Brendan Cully <brendan@kublai.com>
parents: 1790
diff changeset
     1
(binary:application/octet-stream)