mercurial/commandserver.py
changeset 40826 1617aa916d88
parent 40825 eaabcb689747
child 40827 d23fd01cc115
--- a/mercurial/commandserver.py	Sat Nov 10 19:09:37 2018 +0900
+++ b/mercurial/commandserver.py	Sat Nov 10 19:27:47 2018 +0900
@@ -367,7 +367,7 @@
     elif logpath == b'-':
         logger = loggingutil.fileobjectlogger(ui.ferr, tracked)
     else:
-        logpath = os.path.abspath(logpath)
+        logpath = os.path.abspath(util.expandpath(logpath))
         vfs = vfsmod.vfs(os.path.dirname(logpath))
         logger = loggingutil.filelogger(vfs, os.path.basename(logpath), tracked)