Mercurial > hg
diff tests/test-issue1306.t @ 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 | 41885892796e |
children | 2fc86d92c4a9 |