[Updated] D11061: windows: use abspath in commandserver

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Fri Jul 16 09:21:07 UTC 2021


Closed by commit rHG27e75b8bf784: windows: use abspath in commandserver (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11061?vs=29119&id=29307

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11061/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11061

AFFECTED FILES
  mercurial/commandserver.py

CHANGE DETAILS

diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py
--- a/mercurial/commandserver.py
+++ b/mercurial/commandserver.py
@@ -429,7 +429,7 @@
     elif logpath == b'-':
         logger = loggingutil.fileobjectlogger(ui.ferr, tracked)
     else:
-        logpath = os.path.abspath(util.expandpath(logpath))
+        logpath = util.abspath(util.expandpath(logpath))
         # developer config: cmdserver.max-log-files
         maxfiles = ui.configint(b'cmdserver', b'max-log-files')
         # developer config: cmdserver.max-log-size



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210716/671c1558/attachment-0002.html>


More information about the Mercurial-patches mailing list