]> khamidou — GitHub mirrors - arcanist.git/commit
Separate "browse ref -> commit" and "commit -> upstream" hardpoints from `arc browse...
authorepriestley <git@epriestley.com>
Wed, 23 Nov 2016 17:01:03 +0000 (09:01 -0800)
committerepriestley <git@epriestley.com>
Wed, 23 Nov 2016 21:26:01 +0000 (13:26 -0800)
commitd00de495bcf513c2b59242a1b1aedf16d8475b98
treed1ec93b5427f0a9b10c04894042624f65e19f29c
parentdc4e0f788d8e84ba663c3fcd1c8189ea7831a96a
Separate "browse ref -> commit" and "commit -> upstream" hardpoints from `arc browse` workflow

Summary:
Ref T10895. Currently, the "browse as a commit" code does these lookups, but the code can't be reused.

For T10895, I want to introduce "browse as revision", but it will need to do the same ref lookup. Separate this as a hardpoint so the code can be shared via hardpoint/ref infrastructure.

Test Plan: Ran `arc browse master` and similar commands.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10895

Differential Revision: https://secure.phabricator.com/D16929
src/__phutil_library_map__.php
src/browse/loader/ArcanistBrowseCommitHardpointLoader.php [new file with mode: 0644]
src/browse/loader/ArcanistBrowseCommitURIHardpointLoader.php
src/browse/ref/ArcanistBrowseRef.php
src/loader/ArcanistCommitUpstreamHardpointLoader.php [new file with mode: 0644]
src/loader/ArcanistHardpointLoader.php
src/ref/ArcanistCommitRef.php