diff options
-rw-r--r-- | bdep/config.cxx | 14 | ||||
-rw-r--r-- | tests/config.testscript | 3 |
2 files changed, 11 insertions, 6 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx index db282c4..8d33155 100644 --- a/bdep/config.cxx +++ b/bdep/config.cxx @@ -512,10 +512,14 @@ namespace bdep // path.swap (c->path); - diag_record dr (text); - dr << "moved configuration "; - print_configuration (dr, c, false /* flags */); - dr << " to " << path; + { + diag_record dr (text); + dr << "moved configuration "; + print_configuration (dr, c, false /* flags */); + dr << " to " << path; + } + + info << "explicit sync command is required for changes to take effect"; } return 0; @@ -742,7 +746,7 @@ namespace bdep print_configuration (dr, c); } - info << "explicit bdep-sync is required for changes to take effect"; + info << "explicit sync command is required for changes to take effect"; } return 0; diff --git a/tests/config.testscript b/tests/config.testscript index 3af7621..db02947 100644 --- a/tests/config.testscript +++ b/tests/config.testscript @@ -214,6 +214,7 @@ deinit += -d prj $* move @cfg prj-cfg2 2>>/"EOE"; moved configuration @cfg $~/prj-cfg/ 1 to $~/prj-cfg2/ + info: explicit sync command is required for changes to take effect EOE $update --all 2>>~%EOE%; @@ -300,7 +301,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 + info: explicit sync command is required for changes to take effect EOE $* list >>/"EOO"; |