From 8225cdc56b9763ef4c000fe72db3e6ae68fc3736 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sat, 18 Apr 2009 11:00:35 -0700 Subject: [PATCH] Display the URL we will upload changes to for review This gives the user the last chance to confirm where the change is going to be sent to. Knowing the review server URL will help the user decide if continuing with the upload makes sense. Signed-off-by: Shawn O. Pearce --- subcmds/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subcmds/upload.py b/subcmds/upload.py index 24bbc7b7..01ba4ad0 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -124,7 +124,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ for commit in list: print ' %s' % commit - sys.stdout.write('(y/n)? ') + sys.stdout.write('to %s (y/n)? ' % remote.review) answer = sys.stdin.readline().strip() answer = answer in ('y', 'Y', 'yes', '1', 'true', 't')