Mercurial > hg
diff mercurial/templates/map-cmdline.status @ 25485:8182163ae983
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 05 Jun 2015 16:30:11 -0700 |
parents | 517763f87141 |
children | 9c647f427aef |