public function getTags()
    {
        if (null === $this->tags) {
            $tags = array();

            $this->process->execute('hg tags', $output, $this->repoDir);
            foreach ($this->process->splitLines($output) as $tag) {
                if ($tag && preg_match('(^([^\s]+)\s+\d+:(.*)$)', $tag, $match)) {
                    $tags[$match[1]] = $match[2];
                }
            }
            unset($tags['tip']);

            $this->tags = $tags;
        }

        return $this->tags;
    }
public function getTags()
    {
        if (null === $this->tags) {
            $tags = array();

            $this->process->execute('hg tags', $output, $this->repoDir);
            foreach ($this->process->splitLines($output) as $tag) {
                if ($tag && preg_match('(^([^\s]+)\s+\d+:(.*)$)', $tag, $match)) {
                    $tags[$match[1]] = $match[2];
                }
            }
            unset($tags['tip']);

            $this->tags = $tags;
        }

        return $this->tags;
    }
public function getTags ( ) { if ( null === $ this -> tags ) { $ tags = array ( ) ; $ this -> process -> execute ( 'hg tags' , $ output , $ this -> repoDir ) ; foreach ( $ this -> process -> splitLines ( $ output ) as $ tag ) { if ( $ tag && preg_match ( '(^([^\s]+)\s+\d+:(.*)$)' , $ tag , $ match ) ) { $ tags [ $ match [ 1 ] ] = $ match [ 2 ] ; } } unset ( $ tags [ 'tip' ] ) ; $ this -> tags = $ tags ; } return $ this -> tags ; }
{@inheritDoc}
{