mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
No description
ac0aa330f5
Summary: The `emailuser` template is a relatively recent addition to Mercurial, and a few users have complained about it. It also doesn't actually do what I thought it did, e.g. in an address like this: "Abraham Lincoln" <alincoln@whitehouse.gov> ^^^^^^^^^^^^^^^ ^^^^^^^^ (1) (2) ^^^^^^^^^^^^^^^^^^^^^^^ (3) ...I want (1), but `emailuser` means (2). Instead, extract (1) with `getDisplayName()` and (3) with `getAddress()` using PhutilEmailAddress. The implementation in Mercurial is not particularly sophisticated or magical (it just looks for "@" and "<") so we aren't really missing anything by doing this ourselves, at least today. Also fix some issues in `arc export`, which literally no one uses, but which is occasionally useful for testing (as here). Test Plan: - Ran `arc diff --only` in an `hg` repo, checked DB to see that name/email were correctly extracted. - Ran `arc export --git` in an `hg` repo, didn't get a long series of fatals. Reviewers: btrahan, DurhamGoode Reviewed By: DurhamGoode CC: aran Maniphest Tasks: T2866, T2858 Differential Revision: https://secure.phabricator.com/D5539 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
.arcconfig | ||
.divinerconfig | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README |
WHAT IS ARCANIST? Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. You can find a complete user guide here: http://www.phabricator.com/docs/phabricator/article/Arcanist_User_Guide.html For more information about Phabricator, see: http://phabricator.org/ LICENSE Arcanist is released under the Apache 2.0 license except as otherwise noted.