mercurial/ui.py
changeset 47412 c887bab2dccf
parent 47272 a671832a8e41
child 47415 b1b3127227be
--- a/mercurial/ui.py	Fri Jun 11 23:51:27 2021 -0400
+++ b/mercurial/ui.py	Fri Jun 11 23:57:14 2021 -0400
@@ -1065,7 +1065,7 @@
         This method exist as `getpath` need a ui for potential warning message.
         """
         msg = b'ui.getpath is deprecated, use `get_*` functions from urlutil'
-        self.deprecwarn(msg, '6.0')
+        self.deprecwarn(msg, b'6.0')
         return self.paths.getpath(self, *args, **kwargs)
 
     @property