Commit 089255b1341 by Matt Harbison

scmutil: fix an unbound variable with progressbar debug enabled

Differential Revision: https://phab.mercurial-scm.org/D7852
parent 2d49482d0dd
......@@ -1760,6 +1760,7 @@ class progress(object):
self._updatebar(self.topic, self.pos, b"", self.unit, self.total)
def _printdebug(self, item):
unit = b''
if self.unit:
unit = b' ' + self.unit
if item:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment