mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 04:12:13 +02:00
scripts: Update git scripts with new gitlab canonical repository
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
8286d88ed0
commit
846bad3a96
@ -168,19 +168,6 @@ function fetch_origin
|
||||
fi
|
||||
}
|
||||
|
||||
# Fetch tor-gitlab pull requests. No arguments.
|
||||
function fetch_tor_gitlab
|
||||
{
|
||||
local cmd="git fetch tor-gitlab"
|
||||
printf "%s Fetching tor-gitlab..." "$MARKER"
|
||||
if [ $DRY_RUN -eq 0 ]; then
|
||||
msg=$( eval "$cmd" 2>&1 )
|
||||
validate_ret $? "$msg"
|
||||
else
|
||||
printf "\\n %s\\n" "${IWTH}$cmd${CNRM}"
|
||||
fi
|
||||
}
|
||||
|
||||
###############
|
||||
# Entry point #
|
||||
###############
|
||||
@ -188,10 +175,7 @@ function fetch_tor_gitlab
|
||||
# Get into our origin repository.
|
||||
goto_repo "$ORIGIN_PATH"
|
||||
|
||||
# First, fetch tor-gitlab
|
||||
fetch_tor_gitlab
|
||||
|
||||
# Then, fetch the origin.
|
||||
# Fetch the origin.
|
||||
fetch_origin
|
||||
|
||||
# Go over all configured worktree.
|
||||
|
Loading…
Reference in New Issue
Block a user