From a339e50733e3e2d89f341f13a5d295d8a9f7718c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 15 Dec 2024 12:44:12 +0100 Subject: [PATCH] Add hint how to deal with scmsync-nobranch scenarios --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 2b8938efa..17cc17086 100644 --- a/osc/core.py +++ b/osc/core.py @@ -3618,7 +3618,7 @@ def branch_pkg( # error out if we're branching a scmsync package (we'd end up with garbage anyway) if root is not None and root.find("scmsync") is not None: - msg = "Cannot branch a package with set." + msg = "osc cannot branch packages with , i.e. externally managed sources. Often, the URL for cloning is also the URL for a collaborative web interface where you can fork (branch). The scmsync URL was: " + root.find("scmsync").text if devel_project: raise oscerr.PackageError(devel_project, devel_package, msg) raise oscerr.PackageError(src_project, src_package, msg)