Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
Show First 20 Lines • Show All 369 Lines • ▼ Show 20 Lines | public function amendCommit($message = null) { | ||||
throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
} | } | ||||
public function getAllBranches() { | public function getAllBranches() { | ||||
// TODO: Implement for Mercurial/SVN and make abstract. | // TODO: Implement for Mercurial/SVN and make abstract. | ||||
return array(); | return array(); | ||||
} | } | ||||
public function getAllBranchRefs() { | |||||
throw new ArcanistCapabilityNotSupportedException($this); | |||||
} | |||||
public function hasLocalCommit($commit) { | public function hasLocalCommit($commit) { | ||||
throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
} | } | ||||
public function getCommitMessage($commit) { | public function getCommitMessage($commit) { | ||||
throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 277 Lines • ▼ Show 20 Lines | public function resolveBaseCommit() { | ||||
return $commit; | return $commit; | ||||
} | } | ||||
public function getRepositoryUUID() { | public function getRepositoryUUID() { | ||||
return null; | return null; | ||||
} | } | ||||
final public function newCommitRef() { | |||||
return new ArcanistCommitRef(); | |||||
} | |||||
final public function newBranchRef() { | |||||
return new ArcanistBranchRef(); | |||||
} | |||||
} | } |