Page MenuHomePhabricator

Don't parse mercurial usernames without email address as an email address
ClosedPublic

Authored by richardvanvelzen on Jun 17 2014, 6:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 5:04 PM
Unknown Object (File)
Wed, Jan 1, 11:07 AM
Unknown Object (File)
Tue, Dec 31, 4:55 AM
Unknown Object (File)
Dec 17 2024, 4:08 AM
Unknown Object (File)
Dec 4 2024, 4:57 AM
Unknown Object (File)
Dec 2 2024, 4:02 PM
Unknown Object (File)
Dec 2 2024, 10:31 AM
Unknown Object (File)
Nov 20 2024, 7:50 PM
Subscribers

Details

Summary

This leads to information being lost when others do arc patch because the name is used as the email address.

For example:

username = Richard van Velzen

Would give:

'authorName' => null,
'authorEmail' => 'Richard van Velzen'
Test Plan

ran it through my head a couple of times, and tested it with the common options which all gave the expected result:

'rvanvelzen@company.com',
'Richard van Velzen',
'Richard van Velzen <rvanvelzen@company.com>',
'Richard van Velzen rvanvelzen@company.com',

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

richardvanvelzen retitled this revision from to Don't parse mercurial usernames without email address as an email address.
richardvanvelzen updated this object.
richardvanvelzen edited the test plan for this revision. (Show Details)
richardvanvelzen added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 17 2014, 6:46 PM
epriestley updated this revision to Diff 23022.

Closed by commit rARC680ec3670cd9 (authored by @richardvanvelzen, committed by @epriestley).