]> khamidou — GitHub mirrors - arcanist.git/commit
Basic Mercurial support for Arcanist
authorepriestley <git@epriestley.com>
Tue, 9 Aug 2011 16:00:29 +0000 (09:00 -0700)
committerepriestley <git@epriestley.com>
Wed, 10 Aug 2011 01:22:58 +0000 (18:22 -0700)
commit268de6428c4a2483a3590090064276dd556dd5a6
tree4ec8cbd66654e763ab94289398a43db29fa63dc5
parent40b445b3874493981768c04d3774e4f1ad253490
Basic Mercurial support for Arcanist

Summary:
There's a lot of ground left to cover but this makes "arc diff" work (on one
trivial diff) in my sandbox, at least, and supports parsing of Mercurial native
diffs (which are unified + a custom header). Piles of missing features, still.
Some of this is blocked by me not understanding the mercurial model well yet.

This is also a really good opportunity for cleanup (especially, reducing the
level of "instanceof" in the diff workflow), I'll try to do a bunch of that in
followup diffs.

Test Plan: Ran "arc diff" in a mercurial repository, got a diff out of it.
Reviewed By: aran
Reviewers: Makinde, jungejason, tuomaspelkonen, aran, codeblock
CC: aran, epriestley, codeblock, fratrik
Differential Revision: 792
src/__phutil_library_map__.php
src/parser/diff/ArcanistDiffParser.php
src/repository/api/base/ArcanistRepositoryAPI.php
src/repository/api/base/__init__.php
src/repository/api/git/ArcanistGitAPI.php
src/repository/api/mercurial/ArcanistMercurialAPI.php [new file with mode: 0644]
src/repository/api/mercurial/__init__.php [new file with mode: 0644]
src/workflow/diff/ArcanistDiffWorkflow.php