public function publishChanges($remote = null) { $remote = $remote === null ? 'default' : $remote; $this->executeHgCommand("push {$remote}"); }