Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Handle cleanly failure to push to try. #23

Merged
merged 2 commits into from

2 participants

@mounirlamouri

No description provided.

@mounirlamouri

This should now apply cleanly.

@jdm jdm merged commit f8d4446 into pbiggar:master
@jdm
Collaborator

Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 13, 2012
  1. @mounirlamouri
Commits on Aug 17, 2012
  1. @mounirlamouri

    Merge with master.

    mounirlamouri authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 trychooser
View
5 trychooser
@@ -459,7 +459,10 @@ For all questions, choosing Y means adding something to the TryChooser string. C
ui.write(_("Pretending to push to try server...\n"))
else:
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
# this version and configures the try repository to be non-publishing, we
Something went wrong with that request. Please try again.