diff mercurial/setdiscovery.py @ 20967:984850270acb

unbundle: extract checkheads in its own function We are going to refactor the unbundle function to have it working on a local repository too. Having this function extracted will ease the process. In the case of non-matching heads, the function now directly raises an exception. The top level of the function is catching it.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 04 Apr 2014 17:15:25 -0700
parents cdecbc5ab504
children ee45f5c2ffcc
line wrap: on
line diff