src/mercurialserver/servelog.py
changeset 375 a41e4382ea6e
parent 373 a286d6c6b19c
--- a/src/mercurialserver/servelog.py	Wed Mar 05 12:16:46 2014 +0100
+++ b/src/mercurialserver/servelog.py	Mon Sep 11 21:38:10 2017 +0200
@@ -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