# HG changeset patch # User Pierre-Yves David # Date 1462697021 -7200 # Node ID 3fd94f603190e50690e654fc211ba9801ff2c457 # Parent bdc86e178255892a62c2c8736e9f516056d2d700 devel: use the 'config' argument for the dirstate normalisation develwarn diff -r bdc86e178255 -r 3fd94f603190 contrib/dirstatenonnormalcheck.py --- a/contrib/dirstatenonnormalcheck.py Sun May 08 10:43:41 2016 +0200 +++ b/contrib/dirstatenonnormalcheck.py Sun May 08 10:43:41 2016 +0200 @@ -25,10 +25,10 @@ """Compute nonnormalset from dmap, check that it matches _nonnormalset""" nonnormalcomputedmap = nonnormalentries(dmap) if _nonnormalset != nonnormalcomputedmap: - ui.develwarn("%s call to %s\n" % (label, orig)) - ui.develwarn("inconsistency in nonnormalset\n") - ui.develwarn("[nonnormalset] %s\n" % _nonnormalset) - ui.develwarn("[map] %s\n" % nonnormalcomputedmap) + ui.develwarn("%s call to %s\n" % (label, orig), config='dirstate') + ui.develwarn("inconsistency in nonnormalset\n", config='dirstate') + ui.develwarn("[nonnormalset] %s\n" % _nonnormalset, config='dirstate') + ui.develwarn("[map] %s\n" % nonnormalcomputedmap, config='dirstate') def _checkdirstate(orig, self, arg): """Check nonnormal set consistency before and after the call to orig"""