src/mercurialserver/config.py
changeset 378 a788cfad4cfa
parent 374 7a1d6b228af6
--- a/src/mercurialserver/config.py	Wed Oct 31 13:21:37 2018 -0700
+++ b/src/mercurialserver/config.py	Wed Oct 31 13:22:13 2018 -0700
@@ -51,6 +51,9 @@
     return _getdefault("exceptions", "allowdots", [],
         lambda s: s.split(":"))
 
+def getUserPathIndex():
+    return _getdefault("users", "index", -1, int)
+
 # Work out where we are, don't use config.
 def initExe():
     global _exePath