mercurial/scmutil.py
changeset 38503 077301ac69dc
parent 38456 1cac2e8c7624
child 38575 152f4822d210
--- 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()