]> khamidou — GitHub mirrors - arcanist.git/commit
Enable lint amending commits in mercurial
authordurham <durham@fb.com>
Tue, 16 Apr 2013 20:32:12 +0000 (13:32 -0700)
committerdurham <durham@fb.com>
Tue, 16 Apr 2013 20:32:12 +0000 (13:32 -0700)
commitb3108661bb950424a99baa1c9ec93819feee4ad0
treeabc24e791ebdc28347a10484e8548d56ee60cda8
parentbfc1eeba078a089dbf2a94101d040a1b01106705
Enable lint amending commits in mercurial

Summary:
arc lint was hardcoded for git for amending commits with lint
patches. This enables the same functionality for mercurial.

Test Plan:
Made some changes that would result in a lint patch.
arc diff

Verify that the patches it produces were amended into the commit.

Verified it still works in git as well.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5716
src/repository/api/ArcanistGitAPI.php
src/repository/api/ArcanistMercurialAPI.php
src/repository/api/ArcanistRepositoryAPI.php
src/workflow/ArcanistLintWorkflow.php