>>> hgext.cdm=${TOOL_ROOT}/onbld/lib/python/onbld/hgext/cdm.py >> >> That isn't supported, but you can set HGRCPATH to a list of hgrc files. >> from hg(1), it sounds like all of them are used, rather than just the >> first one found, but I'd check to make sure. > > Shame it's not supported. Probably easier to just switch in the > appropriate .hgrc at login.
>From hg(1): HGRCPATH A list of files or directories to search for hgrc files. Item separator is ":" on Unix, ";" on Windows. If HGRCPATH is not set, platform default search path is used. If empty, only .hg/hgrc of current repository is read. For each element in path, if a directory, all entries in directory ending with ".rc" are added to path. Else, element itself is added to path. So I'm not sure that "unsupported" means, but the documented behavior seems like something that should work OK with the appropriate variable in the definition. ? --Mark