mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
No description
9c11adc661
Summary: - Use differential.query, not differential.find. - Use loadWorkingCopyDifferentialRevisions ("arc which"). - Some general cleanup. Test Plan: oh man $ arc commit --revision 999 # Does not exist Usage Exception: Revision 'D999' does not exist. $ arc commit --revision 1 # Exists, not accepted. Revision 'D1: bleorp' has not been accepted. Commit this revision anyway? [y/N] y Committing 'D1: bleorp'... A locally modified path is not included in this revision: DERP It will NOT be committed. Commit this revision anyway? [y/N] y Done. $ arc commit --revision 3 # Not mine, from a git repo You are not the author of 'D3: bloop'. Commit this revision anyway? [y/N] y Revision 'D3: bloop' was generated from '/INSECURE/repos/git-working-copy/', but current working copy root is '/INSECURE/repos/svn-working-copy/'. Commit this revision anyway? [y/N] y Committing 'D3: bloop'... A locally modified path is not included in this revision: DERP It will NOT be committed. Commit this revision anyway? [y/N] y svn: Commit failed (details follow): svn: '/INSECURE/repos/svn-working-copy/derp' is not under version control Exception: Executing 'svn commit' failed! (Run with --trace for a full exception trace.) $ arc commit # Nothing accepted Usage Exception: Unable to identify the revision in the working copy. Use '--revision <revision_id>' to select a revision. $ arc commit # Now accepted Committing 'D1: bleorp'... Marking revision D1 'bleorp' committed... Done. $ svn st # Complicated test for a bizarre SVN edge case A svnderp A svnderp/A A svnderp/B $ arc diff --create Linting... LINT OKAY No lint problems. Running unit tests... No unit test engine is configured for this project. Created a new Differential revision: Revision URI: http://local.aphront.com/D28 Included changes: A (dir) svnderp A svnderp/A A svnderp/B $ touch svnderp/C $ svn add svnderp/C A svnderp/C $ arc commit Usage Exception: Unable to identify the revision in the working copy. Use '--revision <revision_id>' to select a revision. $ arc commit --revision 28 Revision 'D28: derp' has not been accepted. Commit this revision anyway? [y/N] y Committing 'D28: derp'... Usage Exception: This commit includes the directory 'svnderp', but it contains a modified path ('svnderp/C') which is NOT included in the commit. Subversion can not handle this operation and will commit the path anyway. You need to sort out the working copy changes to 'svnderp/C' before you may proceed with the commit. Reviewers: btrahan, jungejason Reviewed By: btrahan CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1491 |
||
---|---|---|
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/