Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistMercurialAPI.php
Show First 20 Lines • Show All 1,008 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() { | public function getMercurialExtensionArguments() { | ||||
$path = phutil_get_library_root('arcanist'); | $path = phutil_get_library_root('arcanist'); | ||||
$path = dirname($path); | $path = dirname($path); | ||||
$path = $path.'/support/hg/arc-hg.py'; | $path = $path.'/support/hg/arc-hg.py'; | ||||
return array( | return array( | ||||
'--config', | '--config', | ||||
'extensions.arc-hg='.$path, | 'extensions.arc-hg='.$path, | ||||
); | ); | ||||
} | } | ||||
} | } |