static S mechList_opt_raw_fresh(S name) { ifdef mechList_raw_fresh_debug print("mechList_raw_fresh :" + name); endifdef bool useLocal = false, useRemote = true; if (mergeLocalAndRemoteMechLists()) useLocal = true; else if (useLocalMechLists()) { useLocal = true; useRemote = false; } S s = ""; if (useRemote) { if (useLocalMechListCopies()) s = unnull(loadTextFile(remoteMechListMirrorFile(name))); else s = serverMechList_raw_fresh(name, true); } if (useLocal) s = appendNewLineIfNempty(s) + localMechList_opt_raw_fresh(name); ret s; }