D7375: py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Nov 13 18:13:40 EST 2019
Closed by commit rHG975e517451a6: py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7375?vs=18056&id=18057
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7375/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7375
AFFECTED FILES
mercurial/chgserver.py
CHANGE DETAILS
diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
--- a/mercurial/chgserver.py
+++ b/mercurial/chgserver.py
@@ -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):
To: martinvonz, #hg-reviewers
Cc: durin42, mercurial-devel
More information about the Mercurial-devel
mailing list