Changeset View
Changeset View
Standalone View
Standalone View
src/repository/state/ArcanistMercurialLocalState.php
Show All 11 Lines | final class ArcanistMercurialLocalState | ||||
public function getLocalPath() { | public function getLocalPath() { | ||||
return $this->localPath; | return $this->localPath; | ||||
} | } | ||||
protected function executeSaveLocalState() { | protected function executeSaveLocalState() { | ||||
$api = $this->getRepositoryAPI(); | $api = $this->getRepositoryAPI(); | ||||
// TODO: Fix this. | // TODO: We need to save the position of "." and the current active | ||||
// branch, which may be any symbol at all. Both of these can be pulled | |||||
// from "hg arc-ls-markers". | |||||
} | } | ||||
protected function executeRestoreLocalState() { | protected function executeRestoreLocalState() { | ||||
$api = $this->getRepositoryAPI(); | $api = $this->getRepositoryAPI(); | ||||
// TODO: Fix this. | |||||
// TODO: In Mercurial, we may want to discard commits we've created. | // TODO: In Mercurial, we may want to discard commits we've created. | ||||
// $repository_api->execxLocal( | // $repository_api->execxLocal( | ||||
// '--config extensions.mq= strip %s', | // '--config extensions.mq= strip %s', | ||||
// $this->onto); | // $this->onto); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |