mercurial/localrepo.py
changeset 50581 b2ec43d552d4
parent 50580 833a4e881a7a
child 50582 2d9ba65a4d0a
--- a/mercurial/localrepo.py	Thu Feb 02 17:28:15 2023 +0100
+++ b/mercurial/localrepo.py	Thu Feb 02 17:28:30 2023 +0100
@@ -1456,7 +1456,7 @@
         if self.ui.configbool(b'devel', b'all-warnings') or self.ui.configbool(
             b'devel', b'check-locks'
         ):
-            if util.safehasattr(self.svfs, b'vfs'):  # this is filtervfs
+            if util.safehasattr(self.svfs, 'vfs'):  # this is filtervfs
                 self.svfs.vfs.audit = self._getsvfsward(self.svfs.vfs.audit)
             else:  # standard vfs
                 self.svfs.audit = self._getsvfsward(self.svfs.audit)