Changeset View
Changeset View
Standalone View
Standalone View
src/workingcopy/ArcanistSubversionWorkingCopy.php
Show All 33 Lines | final class ArcanistSubversionWorkingCopy | ||||
public function getMetadataDirectory() { | public function getMetadataDirectory() { | ||||
return $this->getPath('.svn'); | return $this->getPath('.svn'); | ||||
} | } | ||||
protected function newWorkingCopyFromDirectories( | protected function newWorkingCopyFromDirectories( | ||||
$working_directory, | $working_directory, | ||||
$ancestor_directory) { | $ancestor_directory) { | ||||
if (!Filesystem::pathExits($ancestor_directory.'/.svn')) { | if (!Filesystem::pathExists($ancestor_directory.'/.svn')) { | ||||
return null; | return null; | ||||
} | } | ||||
return id(new self()); | return new self(); | ||||
} | } | ||||
} | } | ||||