comparison mercurial/obsolete.py @ 38032:f9dc1d5b676b stable

httppeer: properly gate debug usage behind debug flag check The "dbg" local variable is only defined if the 'debugflag' is set to True. However, it was used indiscriminately later in the function. We hide its usage behind the 'debugflag' value to avoid raising a NameError.
author Boris Feld <boris.feld@octobus.net>
date Fri, 04 May 2018 19:06:46 +0200
parents d30810d09d6f
children 02f992ac26e9
comparison
equal deleted inserted replaced
38000:7c05198cd1ca 38032:f9dc1d5b676b