1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-09 13:28:28 +01:00
phorge-arcanist/src/repository/api
epriestley 69246b282d Simplify "arc branch" and make it work in immutable history repositories
Summary:
  - Move "arc branch"-specific code to the branch workflow.
  - Instead of doing "git rev-parse", just do "git branch --verbose --abbrev=40".
  - Use revision owners to identify ownership, not working copy identity. Particularly with the advent of "Commandeer", you might not own commits you made.
  - Do a batch lookup for commits by hash (depends on D2859, but doesn't break without it).
  - Use PhutilConsole for console stuff.
  - Removed color from "arc list" for the moment.
  - The "--by-status" flag has a slightly different output format now.

Test Plan: Ran "arc branch" in various circumstances, verified it identifies branches in immutable history repositories.

Reviewers: btrahan, vrana, jungejason, nh, slawekbiel

Reviewed By: slawekbiel

CC: aran

Maniphest Tasks: T693

Differential Revision: https://secure.phabricator.com/D2860
2012-06-26 10:50:43 -07:00
..
ArcanistGitAPI.php Simplify "arc branch" and make it work in immutable history repositories 2012-06-26 10:50:43 -07:00
ArcanistMercurialAPI.php Fix mixing parens on getWorkingCopyIdentity in ArcanistMercurialAPI 2012-06-22 16:25:49 -03:00
ArcanistRepositoryAPI.php [arcanist] add system arc config file 2012-06-25 15:14:11 -07:00
ArcanistSubversionAPI.php [Arcanist] fix scratch dir for svn >= 1.7 2012-06-25 17:13:29 -07:00