Changeset View
Changeset View
Standalone View
Standalone View
src/workingcopy/ArcanistMercurialWorkingCopy.php
| Show All 12 Lines | protected function newWorkingCopyFromDirectories( | ||||
| if (!Filesystem::pathExists($ancestor_directory.'/.hg')) { | if (!Filesystem::pathExists($ancestor_directory.'/.hg')) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| return new self(); | return new self(); | ||||
| } | } | ||||
| public function newRepositoryAPI() { | protected function newRepositoryAPI() { | ||||
| return new ArcanistMercurialAPI($this->getPath()); | return new ArcanistMercurialAPI($this->getPath()); | ||||
| } | } | ||||
| } | } | ||||