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
Bob Trahan 6c613292f7 Make arc patch be less ROFL for mercurial
Summary:
pretty easy stuff as mercurial accepts git style patches...!

also fixed two issues where we were 1) storing the short hash and 2) storing it
with a trailing "\n".  This diff makes us store the full hash AND no trailing
return character

Test Plan:
in my mercurial repo
<note repo at revision $foo>
<did something dumb>
hg commit -m "something dumb"
arc diff
<go to web and fill out stuff for DX>
hg checkout $foo
arc patch DX
<verify patch DX successfully applied!>

use conduit console to verify a few diffs were returning the correct full
revision hash with a trailing \n

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Maniphest Tasks: T630

Differential Revision: https://secure.phabricator.com/D1431
2012-01-17 09:40:43 -08:00
..
amend Make --revision switch of amend workflow easier to use 2011-12-13 11:41:11 -08:00
base Arc - add a sanity check to arc patch workflows to make sure the vcs base 2012-01-10 11:48:05 -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 Arc - add a sanity check to arc patch workflows to make sure the vcs base 2012-01-10 11:48:05 -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 Fix for arc install-certificate timeout. 2012-01-15 10:11:52 -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 Make arc patch be less ROFL for mercurial 2012-01-17 09:40:43 -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