# # patch "commands.cc" # from [a1bf2bc0ade2260e2ebb5ac988b937b0d60b3824] # to [8009232d5d906219c7f1f12fc102b10157aa9caf] # # patch "tests/t_log_nonexistent.at" # from [95e7269526aa740c830eec46f4e6ed2c76e0b7c3] # to [ddc08aa0bfe6cf5093cdea61ccfbc51225bb998a] # ======================================================================== --- commands.cc a1bf2bc0ade2260e2ebb5ac988b937b0d60b3824 +++ commands.cc 8009232d5d906219c7f1f12fc102b10157aa9caf @@ -3523,7 +3523,8 @@ app); for (set::const_iterator n = nodes.begin(); n != nodes.end(); ++n) { - if (nodes_changed.find(*n) != nodes_changed.end()) + if (nodes_changed.find(*n) != nodes_changed.end() + || nodes_born.find(*n) != nodes_born.end()) { any_node_hit = true; break; @@ -3533,8 +3534,8 @@ ++n) nodes.erase(*n); - if (!any_node_hit) - print_this = false; + if (any_node_hit) + print_this = true; } changes_summary csum; ======================================================================== --- tests/t_log_nonexistent.at 95e7269526aa740c830eec46f4e6ed2c76e0b7c3 +++ tests/t_log_nonexistent.at ddc08aa0bfe6cf5093cdea61ccfbc51225bb998a @@ -28,9 +28,9 @@ AT_CHECK(MONOTONE rename foo bar, [], [ignore], [ignore]) COMMIT(testbranch) -AT_CHECK(MONOTONE log foo, [], [], [ignore]) +AT_CHECK(MONOTONE log foo, [1], [], [ignore]) -AT_CHECK(MONOTONE log baz, [], [], [ignore]) +AT_CHECK(MONOTONE log baz, [1], [], [ignore]) AT_CHECK(MONOTONE log bar | grep "^Addition of @<:@a-z@:>@@<:@a-z@:>@@<:@a-z@:>@.$", [], [Addition of foo.