mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
No description
51cccfd21e
Summary: without "nocommit" we commit the patch to the working copy. add the nocommit flag and this commit does not happen. making this happen required adding revisionID to arc bundle to fetch the proper commit message. if we can't get a commit message -- suppose the fetch fails or the source is self::SOURCE_PATCH, we ask the user for the commit message on the command line Test Plan: git reset --hard <SOME_REV> arc patch DX, where this got us to <SOME_REV + 1> observe correct patch committed with correct commit message in working copy git reset --hard <SOME_REV> arc patch --nocommit DX, where this got us to <SOME_REV + 1> observe correct patch landed BUT NOT committed. note "commit message" does not exist since there isn't a commit...! git diff HEAD^1 > ~/file.patch git reset --hard HEAD^1 arc patch --patch ~/file.patch observe prompted for commit message and patch committed with commit message i typed in Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T479 Differential Revision: https://secure.phabricator.com/D1450 |
||
---|---|---|
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/