mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 05 Jun 2015 16:30:11 -0700
changeset 25485 8182163ae983
parent 0 9117c6561b0b
child 27220 4374d819ccd5
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: