d77628e68ba7 — joedrew <joedrew> 11 years ago
Fix https://github.com/pbiggar/trychooser/issues/29 on the nice trychooser
1 files changed, 2 insertions(+), 1 deletions(-)

M __init__.py
M __init__.py +2 -1
@@ 336,7 336,8 @@ def trychooser_command(ui, repo, *args, 
 
     ui.write("Push to try server...\n")
     try:
-        commands.push(ui, repo, "ssh://hg.mozilla.org/try", force=True)
+        commands.push(ui, repo, "ssh://hg.mozilla.org/try", force=True,
+                      rev=[repo['.'].rev()])
 
         # try server is running an old mercurial version that doesn't support
         # phases, so is assumed to be publishing. Undo the effects.