( )⚙ D6854 amend: prevent '\n' in the note string

This is an archive of the discontinued Mercurial Phabricator instance.

amend: prevent '\n' in the note string
ClosedPublic

Authored by mharbison72 on Sep 15 2019, 12:57 AM.

Details

Summary

This comes from the evolve function. I'm not sure why this check was missing in
core, since it was present when the length check was added to evolve.

I didn't flag this as BC because 530b7361e3a9 mentioned this argument wasn't
added to the release notes due to no display capability, and that hasn't changed
AFAIK.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.