--- a/mercurial/scmutil.py Fri Jun 29 14:14:35 2018 -0700
+++ b/mercurial/scmutil.py Fri Jun 29 14:43:41 2018 -0700
@@ -1328,7 +1328,7 @@
self.total = total
def __enter__(self):
- pass
+ return self
def __exit__(self, exc_type, exc_value, exc_tb):
self.complete()