src/mercurialserver/config.py
changeset 374 7a1d6b228af6
parent 303 3f9f247b72bd
--- a/src/mercurialserver/config.py	Wed Mar 05 12:16:46 2014 +0100
+++ b/src/mercurialserver/config.py	Sun Dec 14 20:30:25 2014 +0100
@@ -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