Ken wrote:

> unfortunately (we probably should do better at making sure the context
> is updated when we display the welcome message).

Done, added context_save() immediately after each context_replace() that
updates the Version identifier.  context_save() can safely be called
multiple times, and it only rewrites the disk file if needed.

commit 82b04d3149939661608b1ea8764d873c005f9956
Author: David Levine <[email protected]>
Date:   Sat Mar 11 10:03:02 2023 -0500

    Save context immediately after adding or updating its nmh Version.

    To prevent repeating the nmh welcome message if a command fails.
    Thanks to Mark Bergman for reporting that with inc(1).

:100644 100644 d6319939 91e582f4 M      docs/pending-release-notes
:100644 100644 6b400f2f 69eb879b M      sbr/utils.c
:100755 100755 07188e9e aca8890c M      test/install-mh/test-version-check

David

Reply via email to