summaryrefslogtreecommitdiffstats
path: root/subcmds/upload.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-18 11:00:35 -0700
committerShawn O. Pearce <sop@google.com>2009-04-18 11:00:35 -0700
commit8225cdc56b9763ef4c000fe72db3e6ae68fc3736 (patch)
treebfda0cb56fdb1e2f44bd50716e57146ad55ee1a7 /subcmds/upload.py
parent337fb9c7e9e9806cef81918c1446c3cf4d4833d4 (diff)
downloadgit-repo-8225cdc56b9763ef4c000fe72db3e6ae68fc3736.tar.gz
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 <sop@google.com>
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r--subcmds/upload.py2
1 files changed, 1 insertions, 1 deletions
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/
124 for commit in list: 124 for commit in list:
125 print ' %s' % commit 125 print ' %s' % commit
126 126
127 sys.stdout.write('(y/n)? ') 127 sys.stdout.write('to %s (y/n)? ' % remote.review)
128 answer = sys.stdin.readline().strip() 128 answer = sys.stdin.readline().strip()
129 answer = answer in ('y', 'Y', 'yes', '1', 'true', 't') 129 answer = answer in ('y', 'Y', 'yes', '1', 'true', 't')
130 130