##// END OF EJS Templates
commandserver: expand log path for convenience...
Yuya Nishihara -
r40861:1617aa91 default
parent child Browse files
Show More
@@ -367,7 +367,7 b' def setuplogging(ui, repo=None, fp=None)'
367 elif logpath == b'-':
367 elif logpath == b'-':
368 logger = loggingutil.fileobjectlogger(ui.ferr, tracked)
368 logger = loggingutil.fileobjectlogger(ui.ferr, tracked)
369 else:
369 else:
370 logpath = os.path.abspath(logpath)
370 logpath = os.path.abspath(util.expandpath(logpath))
371 vfs = vfsmod.vfs(os.path.dirname(logpath))
371 vfs = vfsmod.vfs(os.path.dirname(logpath))
372 logger = loggingutil.filelogger(vfs, os.path.basename(logpath), tracked)
372 logger = loggingutil.filelogger(vfs, os.path.basename(logpath), tracked)
373
373
@@ -1,6 +1,6 b''
1 #require chg
1 #require chg
2
2
3 $ cat <<EOF >> $HGRCPATH
3 $ cat <<'EOF' >> $HGRCPATH
4 > [cmdserver]
4 > [cmdserver]
5 > log = $TESTTMP/server.log
5 > log = $TESTTMP/server.log
6 > EOF
6 > EOF
General Comments 0
You need to be logged in to leave comments. Login now