Skip to content
Snippets Groups Projects
Commit 6f038e99 authored by Georges Racinet's avatar Georges Racinet
Browse files

Logging: fix error in CreateBynudleFromRefList

Worth of note is that the log formatting will not be applied unless
the level if fixed low enough.

That's why the tests did not detect the problem in CreateBundleFromRefList,
But it is visible in the production log
parent 141dab17
No related branches found
No related tags found
2 merge requests!151heptapod#743: making 0.36 the new stable,!150Logging: fix error in CreateBynudleFromRefList
Pipeline #66160 passed
......@@ -517,6 +517,5 @@
incl_shas, excl_shas = resolve_revspecs_positive_negative(
repo, patterns, ignore_unknown=True)
# TODO useless to log patterns (consumed iterator)
logger.info("CreateBundleFromRefList repo=%r ",
logger.info("CreateBundleFromRefList repo=%r "
"included nodes=%r excluded nodes=%r",
......@@ -522,5 +521,5 @@
"included nodes=%r excluded nodes=%r",
message.Logging(first_req.repository), patterns,
message.Logging(first_req.repository),
incl_shas, excl_shas)
# For info, in `hg bundle` one of the option from ('all', 'base')
......
......@@ -14,5 +14,6 @@
--ignore rust \
--cov-fail-under 100 \
--ignore rust \
--log-level DEBUG \
--cov-report term-missing \
-v $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment