From 0289865bbfdfb0cf06d5392c5b9192b000c61517 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Fri, 14 Oct 2022 15:39:40 +0200 Subject: [PATCH] Write scm_url via Store --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 00ee7b44..dc3eafe6 100644 --- a/osc/core.py +++ b/osc/core.py @@ -1189,7 +1189,7 @@ class Project: store_write_project(dir, project) Store(dir).apiurl = apiurl if scm_url: - store_write_string(dir, '_scm', scm_url + '\n') + Store(dir).scmurl = scm_url package_tracking = None if package_tracking: store_write_initial_packages(dir, project, []) @@ -2635,7 +2635,7 @@ rev: %s if size_limit: store_write_string(dir, '_size_limit', str(size_limit) + '\n') if scm_url: - store_write_string(dir, '_scm', scm_url + '\n') + Store(dir).scmurl = scm_url else: store_write_string(dir, '_files', '' + '\n') store_write_string(dir, '_osclib_version', __store_version__ + '\n')