]> khamidou — GitHub mirrors - arcanist.git/commit
arc branch
authorslawekbiel <slawekbiel@fb.com>
Thu, 23 Jun 2011 19:10:59 +0000 (12:10 -0700)
committerslawekbiel <slawekbiel@fb.com>
Thu, 23 Jun 2011 19:12:48 +0000 (12:12 -0700)
commit5171ec161a46af5c5391615473bed7c99a9bbe34
tree09f2fef2775ad2d67b33395d4571292e010bca96
parent55353001d43b463f3f2a68640c743cde662dc610
arc branch

Summary:
Appending differential status, sorting, filtering and coloring git
branches.

I think it turned out rather nicely. On my repository with 70 branches
it takes 1.6s, not terrible, though 1.2s is in the conduit call - seems
like there is potential for optimization.

I didn't end up changing 'arc list', as their semmantics are slightly
different, but I'm open to ideas of consolidating them

Test Plan:
- Tested on both facebook www and arcanist repositories.
- Validated that view-all flag works
- Validated that the ordering is correct
- Validated that the statuses match the differential status.

Reviewed By: epriestley
Reviewers: epriestley
CC: aran, epriestley, slawekbiel
Revert Plan:
sure

Other Notes:

Differential Revision: 497
src/__phutil_library_map__.php
src/branch/BranchInfo.php [new file with mode: 0644]
src/branch/__init__.php [new file with mode: 0644]
src/repository/api/git/ArcanistGitAPI.php
src/repository/api/git/__init__.php
src/workflow/branch/ArcanistBranchWorkflow.php [new file with mode: 0644]
src/workflow/branch/__init__.php [new file with mode: 0644]