Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistMercurialAPI.php
| Show First 20 Lines • Show All 1,006 Lines • ▼ Show 20 Lines | |||||
| protected function newMarkerRefQueryTemplate() { | protected function newMarkerRefQueryTemplate() { | ||||
| return new ArcanistMercurialRepositoryMarkerQuery(); | return new ArcanistMercurialRepositoryMarkerQuery(); | ||||
| } | } | ||||
| protected function newRemoteRefQueryTemplate() { | protected function newRemoteRefQueryTemplate() { | ||||
| return new ArcanistMercurialRepositoryRemoteQuery(); | return new ArcanistMercurialRepositoryRemoteQuery(); | ||||
| } | } | ||||
| public function getMercurialExtensionArguments() { | |||||
| $path = phutil_get_library_root('arcanist'); | |||||
| $path = dirname($path); | |||||
| $path = $path.'/support/hg/arc-hg.py'; | |||||
| return array( | |||||
| '--config', | |||||
| 'extensions.arc-hg='.$path, | |||||
| ); | |||||
| } | |||||
| } | } | ||||