1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 09:38:50 +02:00
phorge-arcanist/src/workflow
epriestley 3ee01bacac Add 'arc which', and
ArcanistRepositoryAPI->loadWorkingCopyDifferentialRevisions()

Summary:
  - See T787.
  - @cpiro has an immediate use case for this, which is ##arc amend --revision
`arc which --id` --show master## for "git merge --autosquash" or similar.
  - For T614, we need this to choose "--create" vs "--update".
  - Other workflows should also use this to improve how often we automatically
get things right, particularly in Mercurial and SVN.

Test Plan:
Ran "arc which" in SVN, Git and HG working copies with various flags;
results seemed reasonable.

Reviewers: btrahan, cpiro, jungejason

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T787

Differential Revision: https://secure.phabricator.com/D1478
2012-01-24 09:47:53 -08:00
..
amend Make --revision switch of amend workflow easier to use 2011-12-13 11:41:11 -08:00
base Make arc install-certificate respect --conduit-uri 2012-01-23 15:44:25 -08:00
branch Fix "arc branch" to work if you are on "(no branch)" add revision IDs 2011-06-29 13:30:44 -07:00
call-conduit Move Conduit management into Workflow 2011-07-15 12:38:45 -07:00
commit Allow revision numbers prefixed with 'D' in arc commit --revision 2011-12-13 11:41:16 -08:00
cover Ignore non-plaintext changes in cover 2012-01-04 15:44:48 -08:00
diff Improve 'arc' behavior under git mutable history with ambiguous commit messages 2012-01-12 20:09:53 -08:00
download Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
exception/notsupported Add an "arc merge" workflow 2011-09-15 07:42:45 -07:00
export Add "nocommit" git-only flag to arc patch workflow 2012-01-18 15:25:54 -08:00
git-hook-pre-receive Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
help 'arc liberate', convenience wrapper for various libphutil operations 2011-05-17 09:53:19 -07:00
install-certificate Make arc install-certificate respect --conduit-uri 2012-01-23 15:44:25 -08:00
liberate Fix documentation: stop __init__ rendering in bold 2011-08-04 14:09:13 +01:00
lint Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
list Deprecate ArcanistBaseWorkflow::getUserGUID in favor of "PHID" 2011-07-15 12:52:17 -07:00
mark-committed Check that rev is accepted in arc mark-committed --finalize 2011-11-10 16:18:17 -08:00
merge Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
paste Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
patch Augment arc patch behavior 2012-01-23 13:18:34 -08:00
shell-complete Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
svn-hook-pre-commit Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
unit Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
upload Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
which Add 'arc which', and 2012-01-24 09:47:53 -08:00