diff --git a/osc/obs_scm/store.py b/osc/obs_scm/store.py index 8c4a6a06..695d8e35 100644 --- a/osc/obs_scm/store.py +++ b/osc/obs_scm/store.py @@ -339,7 +339,10 @@ def check_store_version(dir): with open(versionfile) as f: v = f.read().strip() except: - v = '' + if is_project_dir(dir): + v = '1.0' + else: + v = '' if v == '': msg = f'Error: "{os.path.abspath(dir)}" is not an osc package working copy.'