Mercurial > hg
diff mercurial/fileset.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 | f290f130d7fc |
children | 5f2dc1b71cf1 |