error 552 when sending a patch via hg email. Anyone else?

12 views
Skip to first unread message

Antonio Muci

unread,
Apr 9, 2024, 6:02:06 PMApr 9
to thg...@googlegroups.com
Hi list,

I am trying to send a patch with my usual setup, which has beenthe same
for years: "hg email", with the following setup in thg/.hg/hgrc:

$ cat .hg/hgrc
[smtp]
host = XXX
port = YYY
[...]

[email]
from = Antonio Muci <a....@inwind.it>
cc = a....@inwind.it
to = thg...@googlegroups.com

However I get this error now:
abort: (552, b'Message contains bare LF and is violating 822.bis section
2.3')

My hg version is 6.5.3. I guess this matters, too, because hg email is
an extension bundled with mercurial.

I suppose the error is raised by the googlegroups SMTP server.

Nothing else (notable) changed on my side: same setup, a short one-line
patch with 30 lines commit message etc.

Is anyone having the same problem?
Are there any alternatives for sending patches? Heptapod maybe?

Thanks
Antonio

Matt Harbison

unread,
Apr 12, 2024, 12:15:38 AMApr 12
to TortoiseHg Developers
I didn't have a problem with emailing through thg the last time I did it- it looks like a couple of months ago.  I've been busy with work, but I'm sure I'll need to send more patches at some point for Qt6 and arm64 on macOS.

Maybe try pushing a topic to the repo, and send a link to the mailing list?  I'm not sure why MRs are disabled on the repo, other than the ML is traditionally how it's been done.
Reply all
Reply to author
Forward
0 new messages