# Copyright 2008-2009 LShift Ltd # Crude but it will do import sys import os.path def setExePath(): global _exePath _exePath = os.path.dirname(os.path.abspath(sys.argv[0])) def getExePath(): return _exePath def getEtcPath(): return "/etc/mercurial-server"