src/Composer/Repository/Vcs/FossilDriver.php
public function getBranches()
    {
        if (null === $this->branches) {
            $branches = array();
            $bookmarks = array();

            $this->process->execute('fossil branch list', $output, $this->checkoutDir);
            foreach ($this->process->splitLines($output) as $branch) {
                $branch = trim(preg_replace('/^\*/', '', trim($branch)));
                $branches[$branch] = $branch;
            }

            $this->branches = $branches;
        }

        return $this->branches;
    }
public function getBranches()
    {
        if (null === $this->branches) {
            $branches = array();
            $bookmarks = array();

            $this->process->execute('fossil branch list', $output, $this->checkoutDir);
            foreach ($this->process->splitLines($output) as $branch) {
                $branch = trim(preg_replace('/^\*/', '', trim($branch)));
                $branches[$branch] = $branch;
            }

            $this->branches = $branches;
        }

        return $this->branches;
    }
public function getBranches ( ) { if ( null === $ this -> branches ) { $ branches = array ( ) ; $ bookmarks = array ( ) ; $ this -> process -> execute ( 'fossil branch list' , $ output , $ this -> checkoutDir ) ; foreach ( $ this -> process -> splitLines ( $ output ) as $ branch ) { $ branch = trim ( preg_replace ( '/^\*/' , '' , trim ( $ branch ) ) ) ; $ branches [ $ branch ] = $ branch ; } $ this -> branches = $ branches ; } return $ this -> branches ; }
{@inheritDoc}
{