[tor-commits] [tor-browser-bundle-testsuite] 03/03: Bug 40062: Update tools/pull to follow main
gitolite role
git at cupani.torproject.org
Sat Jul 16 06:45:12 UTC 2022
This is an automated email from the git hooks/post-receive script.
boklm pushed a commit to branch master
in repository tor-browser-bundle-testsuite.
commit c3f662b45ca1eb38f85e6c173d611d6e442a1edc
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Fri Jul 15 12:04:15 2022 +0200
Bug 40062: Update tools/pull to follow main
---
tools/pull | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tools/pull b/tools/pull
index 71d9aec..52d716b 100755
--- a/tools/pull
+++ b/tools/pull
@@ -11,18 +11,18 @@ then
fi
bundle_commit=$(cat bundle/bundle_commit.txt)
git init
- git remote add origin https://git.torproject.org/boklm/tor-browser-bundle-testsuite.git
+ git remote add origin https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite.git
git fetch origin
- git branch master $bundle_commit
- git branch --set-upstream-to=origin/master master
- git reset master
+ git branch main $bundle_commit
+ git branch --set-upstream-to=origin/main main
+ git reset main
fi
git config --replace-all --local gpg.program "$basedir/gpggit"
if ! git symbolic-ref -q HEAD > /dev/null
then
- # checkout origin/master if we are not on a branch
+ # checkout origin/main if we are not on a branch
remote="${1:-origin}"
- branch="${2:-master}"
+ branch="${2:-main}"
git fetch "$remote"
git verify-commit "$remote/$branch"
git checkout "$remote/$branch"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list