diff mercurial/httppeer.py @ 30283:e1f6898a80e1

color: restore _style global after debugcolor ran Before this change, running 'debugcolor' would destroy all color style for the rest of the process life. We now properly backup and restore the variable content. Using a global variable is sketchy in general and could probably be removed. However, this is a quest for another adventure.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 03 Nov 2016 14:29:19 +0100
parents cac4ca036dff
children e16e234b9ca3
line wrap: on
line diff