On 26/02/07, Yann Dirson <ydirson@xxxxxxxxxx> wrote:
At the same time we trap the editor error for all editor calls, not just when called from "stg mail".
I merged this patch. In the initial StGIT versions, someone complained that an editor (ed) returning a non-zero code is not actually an error and shouldn't raise an exception. If anyone complains about this in the future (that person is no longer using StGIT :-)), we could add a config option to not raise the exception (though with some problems for them).
We may want to define a new exception for this though.
I added an EditorException since it needs to cought in main.py to avoid a stack dump. -- Catalin - 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