diff -r a286d6c6b19c -r 7a1d6b228af6 src/mercurialserver/config.py --- 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