This is an archive of the discontinued Mercurial Phabricator instance.

commit: don't use hard-coded `.hg/last-message.txt` path in error message
ClosedPublic

Authored by martinvonz on Apr 22 2022, 7:51 PM.

Details

Summary

Whoever wrote D8463 just used a hard-coded path to
.hg/last-message.text instead of using the relative path that was
already available in the msgfn variable (and used just a few lines
up in related message). Let's fix that.

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.