Mercurial > hg
view mercurial/templates/map-cmdline.compact @ 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 | 3d83c7d70a98 |
children | 1e184241de51 |
line wrap: on
line source
changeset = '{rev}{tags}{bookmarks}{parents} {node|short} {date|isodate} {author|user}\n {desc|firstline|strip}\n\n' changeset_quiet = '{rev}:{node|short}\n' changeset_verbose = '{rev}{tags}{parents} {node|short} {date|isodate} {author}\n {desc|strip}\n\n' start_tags = '[' tag = '{tag},' last_tag = '{tag}]' start_parents = ':' parent = '{rev},' last_parent = '{rev}' start_bookmarks = '[' bookmark = '{bookmark},' last_bookmark = '{bookmark}]'