py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 28 Aug 2019 17:43:56 -0700
changeset 43621 975e517451a6
parent 43620 dd773340a085
child 43622 45c15ed06f33
py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg Differential Revision: https://phab.mercurial-scm.org/D7375
mercurial/chgserver.py
--- a/mercurial/chgserver.py	Tue Oct 22 23:21:26 2019 -0700
+++ b/mercurial/chgserver.py	Wed Aug 28 17:43:56 2019 -0700
@@ -505,7 +505,7 @@
         path = self._readstr()
         if not path:
             return
-        self.ui.log(b'chgserver', b'chdir to %r\n', path)
+        self.ui.log(b'chgserver', b"chdir to '%s'\n", path)
         os.chdir(path)
 
     def setumask(self):