mercurial/changelog.py
changeset 43787 be8552f25cab
parent 43506 9f70512ae2cf
child 44055 7f67f53492f7
--- a/mercurial/changelog.py	Wed Nov 13 20:42:13 2019 +0100
+++ b/mercurial/changelog.py	Sun Dec 01 18:46:10 2019 -0500
@@ -405,7 +405,7 @@
         self._copiesstorage = opener.options.get(b'copies-storage')
 
     def delayupdate(self, tr):
-        b"delay visibility of index updates to other readers"
+        """delay visibility of index updates to other readers"""
 
         if not self._delayed:
             if len(self) == 0:
@@ -423,7 +423,7 @@
         tr.addfinalize(b'cl-%i' % id(self), self._finalize)
 
     def _finalize(self, tr):
-        b"finalize index updates"
+        """finalize index updates"""
         self._delayed = False
         self.opener = self._realopener
         # move redirected index data back into place
@@ -443,7 +443,8 @@
         self._enforceinlinesize(tr)
 
     def _writepending(self, tr):
-        b"create a file containing the unfinalized state for pretxnchangegroup"
+        """create a file containing the unfinalized state for
+        pretxnchangegroup"""
         if self._delaybuf:
             # make a temporary copy of the index
             fp1 = self._realopener(self.indexfile)