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)