aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-29 13:37:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-01 11:17:34 +0300
commit91420c603dfba0e59c5380994220b39ca9b696cd (patch)
tree2be554e4d0ab05bcf80ee8ce641d91f9a0503571
parentfa9dcf5704f1eb4b6632279d80fdd930db73db69 (diff)
Fix 'no configuration with uuid' error on deinit
-rw-r--r--bdep/sync.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 295b46f..cb5f03f 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -960,9 +960,10 @@ namespace bdep
if (empty)
{
// Note that we keep empty origin configurations if we have any
- // dependencies to upgrade (see below for details).
+ // dependencies to upgrade or we deinitialize some packages (see
+ // below for details).
//
- if (dep_pkgs.empty ())
+ if (dep_pkgs.empty () && deinit_pkgs.empty ())
continue;
else
{