Просмотр исходного кода

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>
Shawn O. Pearce 17 лет назад
Родитель
Сommit
8225cdc56b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      subcmds/upload.py

+ 1 - 1
subcmds/upload.py

@@ -124,7 +124,7 @@ Gerrit Code Review:  http://code.google.com/p/gerrit/
       for commit in list:
       for commit in list:
         print '         %s' % commit
         print '         %s' % commit
 
 
-      sys.stdout.write('(y/n)? ')
+      sys.stdout.write('to %s (y/n)? ' % remote.review)
       answer = sys.stdin.readline().strip()
       answer = sys.stdin.readline().strip()
       answer = answer in ('y', 'Y', 'yes', '1', 'true', 't')
       answer = answer in ('y', 'Y', 'yes', '1', 'true', 't')