[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] scripts: Improve a usage message in git-push-all.sh



commit 97da440f9efeac6c70983ba5de01a9104048d612
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Tue Sep 10 12:12:04 2019 +1000

    scripts: Improve a usage message in git-push-all.sh
    
    Part of 31677.
---
 scripts/git/git-push-all.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/git/git-push-all.sh b/scripts/git/git-push-all.sh
index 701fea40f..ccbca012f 100755
--- a/scripts/git/git-push-all.sh
+++ b/scripts/git/git-push-all.sh
@@ -99,9 +99,9 @@ if [ "$1" = "--" ]; then
 fi
 
 if [ "$TEST_BRANCH_PREFIX" ]; then
-  if [ "$UPSTREAM_REMOTE" = "${TOR_UPSTREAM_REMOTE_NAME:-upstream}" ]; then
+  if [ "$UPSTREAM_REMOTE" = "$DEFAULT_UPSTREAM_REMOTE" ]; then
     echo "Pushing test branches ${TEST_BRANCH_PREFIX}_nnn to " \
-      "$UPSTREAM_REMOTE is not allowed."
+      "the default remote $DEFAULT_UPSTREAM_REMOTE is not allowed."
     echo "Usage: $0 -r <remote-name> -t <test-branch-prefix> <git-opts>"
     exit 1
   fi



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits