aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-07-19 21:32:44 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-10-07 11:02:08 +0200
commitc92568e895ed2946c96c84b07ada1583e9cb4fc0 (patch)
tree6a4aed83849b5d57c35d8c1ecc8a1477f24270b3
parente62928816c6fb218588425a1d651784d7b4b408b (diff)
downloadgosc-c92568e895ed2946c96c84b07ada1583e9cb4fc0.tar.gz
SCM Sync URL should point to the factory branch.
-rwxr-xr-xgit-obranch2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-obranch b/git-obranch
index ebd94bf..fb5e90d 100755
--- a/git-obranch
+++ b/git-obranch
@@ -78,6 +78,6 @@ osc meta pkg "$DEVPRJ" "$PKG" >"$OSC_META" 2>/dev/null
# (https://stackoverflow.com/a/1732454/164233) we can use
# xmlstarlet instead.
if ! grep '<scmsync>' "$OSC_META" >/dev/null 2>&1 ; then
- sed -e "/<\/package>/i\ \ <scmsync>https://src.opensuse.org/pool/$PKG<\/scmsync>" \
+ sed -e "/<\/package>/i\ \ <scmsync>https://src.opensuse.org/pool/$PKG#factory<\/scmsync>" \
"$OSC_META" | osc meta pkg "$DEVPRJ" "$PKG" -F -
fi