aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-09 17:04:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-09 17:04:17 +0200
commit8a211c3b1fbb448ed8ea0284fc13422a0ff7d033 (patch)
tree8692be69d6bf46291abffcdd6000fb413e5db2c1
parent1866947b49889fa1d5296e103bd17feb36c5bc88 (diff)
Print info on having to issue explicit bdep-sync in bdep-config-set
-rw-r--r--bdep/config.cxx2
-rw-r--r--tests/config.test1
2 files changed, 3 insertions, 0 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index d8b652e..3c7760d 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -733,6 +733,8 @@ namespace bdep
dr << "updated configuration ";
print_configuration (dr, c);
}
+
+ info << "explicit bdep-sync is required for changes to take effect";
}
return 0;
diff --git a/tests/config.test b/tests/config.test
index c8f1b0a..e2948da 100644
--- a/tests/config.test
+++ b/tests/config.test
@@ -316,6 +316,7 @@ deinit += -d prj
$* set @cfg2 --default --forward --no-auto-sync 2>>/"EOE";
updated configuration @cfg2 $~/prj-cfg2/ 2 default,forwarded
+ info: explicit bdep-sync is required for changes to take effect
EOE
$* list >>/"EOO";