Wed, 24 Jul 2013 18:59:34 +0200
Fixed an issue in the Mercurial VCS module.
(grafted from 961fba66e01948b082fdf4b3a50b1308ec709c6b)
# -*- coding: utf-8 -*- # Copyright (c) 2010 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing some common utility functions for the Mercurial package. """ import os import Utilities def getConfigPath(): """ Public method to get the filename of the config file. @return filename of the config file (string) """ if Utilities.isWindowsPlatform(): userprofile = os.environ["USERPROFILE"] return os.path.join(userprofile, "Mercurial.ini") else: homedir = Utilities.getHomeDir() return os.path.join(homedir, ".hgrc")