mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 22:10:54 +01:00
No description
b0cfe9d94d
Summary: w00t! Created new functions getBookmarkName, createBookmark that use mercurial commands to create a new bookmark and apply the commit message when running arc patch. Like with git, it checks if the bookmark already exists. If it does, creates arcpatch-DXXX-1, -2 etc Updated the mercurial section of run() to include applying the commit message. Pretty new to programming in general still, so I wasn't sure if I should have just modified getBranchName and createBranch to work with Mercurial (instead of creating new functions). This was easier for me to make sure I didn't break the git functionality. Let me know I can merge the functions. Test Plan: Tested in my www-hg repository. Probably need to test further (suggestions?) Ran the following trials with arc patch D539987 1) the bookmark arcpatch-D539987 already existed 2) the bookmark did not exist 3) tried an invalid commit, arc patch R539987 4) --nobookmark flag (bookmark was not created, but the commit applied) 5) --nocommit flag (boomark was created, and the commit was not applied) 6) --nocommit and --nobokmark Here's the summary of the results: https://secure.phabricator.com/P493 Reviewers: dschleimer Reviewed By: dschleimer CC: aran, epriestley, phleet, bos, csilvers Differential Revision: https://secure.phabricator.com/D3334 |
||
---|---|---|
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/