hgext/__init__.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 05 Jun 2015 16:30:11 -0700
changeset 25485 8182163ae983
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
push: catch and process PushkeyFailed error We add a way to register "pushkey failure callback" that will be used if the push is aborted by a pushkey failure. A part generator adding mandatory pushkey parts should register a failure callback for all of them. The callback will be in charge of generating a meaningful abort if this part fails. If no callback is registered, the error is propagated. Catch PushkeyFailed error in exchange.

# placeholder