mercurial/localrepo.py
branchstable
changeset 43421 be384a2052aa
parent 43414 a0916e8819f6
child 43427 bf87f5ff2ebf
child 43554 9f70512ae2cf
--- a/mercurial/localrepo.py	Tue Nov 05 12:10:38 2019 -0500
+++ b/mercurial/localrepo.py	Tue Nov 05 08:42:42 2019 -0800
@@ -3199,7 +3199,7 @@
         # When using the same lock to commit and strip, the phasecache is left
         # dirty after committing. Then when we strip, the repo is invalidated,
         # causing those changes to disappear.
-        if b'_phasecache' in vars(self):
+        if '_phasecache' in vars(self):
             self._phasecache.write()
 
     @unfilteredmethod