Merge a41e4382ea6e
authorMahlon E. Smith <mahlon@martini.nu>
Wed, 31 Oct 2018 13:21:37 -0700
changeset 377 18869fcfbc92
parent 376 d503d5a786f3 (current diff)
parent 375 a41e4382ea6e (diff)
child 378 a788cfad4cfa
Merge a41e4382ea6e
--- a/src/mercurialserver/servelog.py	Fri Jul 20 17:17:49 2018 +0200
+++ b/src/mercurialserver/servelog.py	Wed Oct 31 13:21:37 2018 -0700
@@ -33,7 +33,7 @@
         op=op,
         key=ruleset.rules.get('user'),
         ssh_connection=os.environ['SSH_CONNECTION'],))
-    with open(repo.join("mercurial-server.log"), "a+") as log:
+    with open(repo.vfs.join("mercurial-server.log"), "a+") as log:
         fcntl.flock(log.fileno(), fcntl.LOCK_EX)
         log.seek(0, os.SEEK_END)
         # YAML log file format