The following patch series cleans up error message reporting when your version of Tcl is too old. The old code checked the Tcl version first and then tried to report the error with show_error. show_error uses msgcat for translation but msgcat is not yet initialized when we are checking the Tcl version requirement. The first patch moves the initialization of msgcat before the check for the Tcl version. This version will fail is msgcat is not available. The second patch handles the case where the msgcat package is not available by providing a default mc procedure than just returns the argument text unchanged (essentially bypassing message text translation). This lets us continue to use show_error as-is. Bernt Hansen (2): gitk: Initialize msgcat before first use gitk: Provide a default mc function if msgcat is not available gitk | 46 ++++++++++++++++++++++++++-------------------- 1 files changed, 26 insertions(+), 20 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html