wrongly detects salsa project name
i'm trying to convert https://salsa.debian.org/multimedia-team/fst
for whatever reasons, the salsa-project is wrongly detected as multimedia-team/fs
(instead of multimedia-team/fst
), as ca nbe seen by the generated output:
git branch -m master debian/latest
salsa protect_branch multimedia-team/fs master no # (intentionally fails with error 404 if branch wasn't protected)
salsa rename_branch multimedia-team/fs --source-branch=master --dest-branch=debian/latest
salsa update_repo multimedia-team/fs --rename-head --source-branch=master --dest-branch=debian/latest
git branch -m upstream upstream/latest
salsa rename_branch multimedia-team/fs --source-branch=upstream --dest-branch=temporary
salsa rename_branch multimedia-team/fs --source-branch=temporary --dest-branch=upstream/latest
git checkout debian/latest
echo "[DEFAULT]" >> debian/gbp.conf
echo "debian-branch = debian/latest" >> debian/gbp.conf
echo "upstream-branch = upstream/latest" >> debian/gbp.conf
git commit -a -m "Update git repository layout to follow DEP-14"
git pull --prune