[Bug 5097] New: 'hg email' does not parse e-mail addresses correctly if you use name <email> syntax
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Feb 12 14:41:10 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5097
Bug ID: 5097
Summary: 'hg email' does not parse e-mail addresses correctly
if you use name <email> syntax
Product: Mercurial
Version: 3.6.3
Hardware: Macintosh
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: patchbomb
Assignee: bugzilla at selenic.com
Reporter: simonfar at fb.com
CC: mercurial-devel at selenic.com
When I send a patch using 'hg email' and the mailing list address
copy-and-pasted into my terminal from my mailer, people see two copies of the
patch:
: /data/users/simonfar/hg (hg) [no-help-crash-test]
: simonfar at devvm631 tests $ hg email -r 9cc387 --flag V2
this patch series consists of 1 patches.
To: mercurial-devel at mercurial-scm.org <mercurial-devel at mercurial-scm.org>
Cc:
sending [PATCH V2] tests: confirm that a badly documented extension doesn't
cause a crash ...
: /data/users/simonfar/hg (hg) [no-help-crash-test]
: simonfar at devvm631 tests $ hg --version
Mercurial Distributed SCM (version 3.6.3+1030-db8ddabd8388)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2015 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I suspect that patchbomb isn't parsing the "name <email>" syntax correctly, and
thus turns "mercurial-devel at mercurial-scm.org
<mercurial-devel at mercurial-scm.org>" into two e-mail addresses, when it should
parse it as a name/comment and a single e-mail address.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list