author | Paul Crowley <paul@lshift.net> |
Sun, 08 Mar 2009 23:56:59 +0000 | |
branch | debian |
changeset 97 | 7953788881a4 |
parent 79 | 3a58a95fae2f |
child 165 | 3606d60b07e5 |
permissions | -rw-r--r-- |
70 | 1 |
# Copyright 2008-2009 LShift Ltd |
2 |
||
3 |
# Crude but it will do |
|
4 |
||
79 | 5 |
import sys |
6 |
import os.path |
|
7 |
||
8 |
def setExePath(): |
|
9 |
global _exePath |
|
10 |
_exePath = os.path.dirname(os.path.abspath(sys.argv[0])) |
|
11 |
||
12 |
def getExePath(): |
|
13 |
return _exePath |
|
14 |
||
70 | 15 |
def getEtcPath(): |
16 |
return "/etc/mercurial-server" |