mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
No description
563230b0fb
Summary: - Implement "arc:amended", a base commit DSL rule which always selects HEAD (git) or `.` (hg) if it has "differential revision:" in the commit message. This is unambiguously correct in amend workflows, and can cover holes in other rules like "git:branch-unique(*)". - Fix a bunch of Mercurial stuff: - Our use of '.' is wrong, and based on a misunderstanding on my part of the behavior of `hg diff --rev . --rev .`, which means "ignore the second --rev flag", not ". means working directory state". As far as I know there's no explicit way to say "the working copy plus all its changes". - The `--prune` argument to "hg log" does not support symbolic names like ".^". Use revsets instead. - Reduce the number of times we need to run `hg branch`. - We can safely use "." to mean "the working copy revision", and do not need to do "hg --debug id" or similar. - Generally simplify some of the nonsense in the implementation left over from me having no idea how Mercurial works. Test Plan: Ran "arc which" in various scenarios in a mercurial working copy. I //think// I exercised all the changes. Ran "arc which --base arc:amended" in hg and git working copies without "Differential Revision:" in head/. (no match) and with it (matched head/.). Reviewers: dschleimer Reviewed By: dschleimer CC: Makinde, tido, phleet, aran Maniphest Tasks: T1233 Differential Revision: https://secure.phabricator.com/D2876 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
.arcconfig | ||
.divinerconfig | ||
.gitignore | ||
LICENSE | ||
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/