The system level hgrc files (in /etc/mercurialand <install-root>/etc/mercurial) obviously depend on the platform, but how can I use the platform dependent hgrc for each user?
A use case is to override the system configuration on a specific platform. For example, we have hg on linux and solaris with various merge tools. How to override the Solaris merge tool when hgrc does not allow any control logic (e.g. if os.uname()[0] == 'SunOS')?
source
share