public function setRevision($localRevision = null)
{
if (empty($localRevision)) {
$localRevision = $this->currentRevision();
}
if ($this->sync) {
if ($this->sync != 'LAST') {
$localRevision = $this->sync;
}
$this->cli->info("Setting remote revision to: {$localRevision}");
}
$this->connection->put($this->dotRevision, $localRevision);
}