Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Handle cleanly failure to push to try. #23

merged 2 commits into from over 1 year ago

2 participants

Mounir Lamouri Josh Matthews
Mounir Lamouri

No description provided.

Mounir Lamouri

This should now apply cleanly.

Josh Matthews jdm merged commit f8d4446 into from August 17, 2012
Josh Matthews jdm closed this August 17, 2012
Josh Matthews
jdm commented August 17, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 2 unique commits by 1 author.

Aug 13, 2012
Mounir Lamouri Handle cleanly failure to push to try. 8dcbc93
Aug 17, 2012
Mounir Lamouri Merge with master. 0ed9886
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  trychooser
5  trychooser
@@ -459,7 +459,10 @@ For all questions, choosing Y means adding something to the TryChooser string. C
459 459
       ui.write(_("Pretending to push to try server...\n"))
460 460
461 461
       ui.write(_("Push to try server...\n"))
-      commands.push(ui, repo, "ssh://", force=True)
+      try:
+        commands.push(ui, repo, "ssh://", force=True)
+      except:
+        ui.write("ERROR: failed to push to try server!\n");
463 466
464 467
     # In Mercurial 2.1 phases support was added, and until Mozilla updates to
465 468
     # this version and configures the try repository to be non-publishing, we

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.