Mercurial > public > mercurial-scm > hg
comparison mercurial/chgserver.py @ 43621:975e517451a6
py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg
Differential Revision: https://phab.mercurial-scm.org/D7375
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 28 Aug 2019 17:43:56 -0700 |
parents | 9f70512ae2cf |
children | 5e0f6451e2d2 |
comparison
equal
deleted
inserted
replaced
43620:dd773340a085 | 43621:975e517451a6 |
---|---|
503 It does not affect --config parameter. | 503 It does not affect --config parameter. |
504 """ | 504 """ |
505 path = self._readstr() | 505 path = self._readstr() |
506 if not path: | 506 if not path: |
507 return | 507 return |
508 self.ui.log(b'chgserver', b'chdir to %r\n', path) | 508 self.ui.log(b'chgserver', b"chdir to '%s'\n", path) |
509 os.chdir(path) | 509 os.chdir(path) |
510 | 510 |
511 def setumask(self): | 511 def setumask(self): |
512 """Change umask (DEPRECATED)""" | 512 """Change umask (DEPRECATED)""" |
513 # BUG: this does not follow the message frame structure, but kept for | 513 # BUG: this does not follow the message frame structure, but kept for |