Changeset View
Changeset View
Standalone View
Standalone View
src/land/ArcanistGitLandEngine.php
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | public function execute() { | ||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
$this->restoreLocalState(); | $this->restoreLocalState(); | ||||
throw $ex; | throw $ex; | ||||
} | } | ||||
} | } | ||||
public function __destruct() { | public function __destruct() { | ||||
if ($this->restoreWhenDestroyed) { | if ($this->restoreWhenDestroyed) { | ||||
$this->writeWARN( | $this->writeWarn( | ||||
pht('INTERRUPTED!'), | pht('INTERRUPTED!'), | ||||
pht('Restoring working copy to its original state.')); | pht('Restoring working copy to its original state.')); | ||||
$this->restoreLocalState(); | $this->restoreLocalState(); | ||||
} | } | ||||
} | } | ||||
protected function getLandingCommits() { | protected function getLandingCommits() { | ||||
▲ Show 20 Lines • Show All 525 Lines • Show Last 20 Lines |