Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Handle cleanly failure to push to try.
Browse files Browse the repository at this point in the history
  • Loading branch information
mounirlamouri committed Aug 13, 2012
1 parent d5078e0 commit 8dcbc93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion trychooser
Expand Up @@ -461,7 +461,10 @@ For all questions, choosing Y means adding something to the TryChooser string. C
ui.write(_("View the results of your push at http://tbpl.mozilla.org/?tree=Try&rev=%s\n") % (repo[None].p1())) ui.write(_("View the results of your push at http://tbpl.mozilla.org/?tree=Try&rev=%s\n") % (repo[None].p1()))


ui.write(_("Push to try server...\n")) ui.write(_("Push to try server...\n"))
commands.push(ui, repo, "ssh://hg.mozilla.org/try", force=True) try:
commands.push(ui, repo, "ssh://hg.mozilla.org/try", force=True)
except:
ui.write("ERROR: failed to push to try server!\n");


# In Mercurial 2.1 phases support was added, and until Mozilla updates to # In Mercurial 2.1 phases support was added, and until Mozilla updates to
# this version and configures the try repository to be non-publishing, we # this version and configures the try repository to be non-publishing, we
Expand Down

0 comments on commit 8dcbc93

Please sign in to comment.