classes/phing/tasks/ext/hg/HgAddTask.php
public function loadIgnoreFile()
    {
        $ignores = [];
        $lines = file('.hgignore');
        foreach ($lines as $line) {
            $nline =  trim($line);
            $nline = preg_replace('/\/\*$/', '/', $nline);
            $ignores[] = $nline;
        }
        $this->ignoreFile = $ignores;
    }
public function loadIgnoreFile()
    {
        $ignores = [];
        $lines = file('.hgignore');
        foreach ($lines as $line) {
            $nline =  trim($line);
            $nline = preg_replace('/\/\*$/', '/', $nline);
            $ignores[] = $nline;
        }
        $this->ignoreFile = $ignores;
    }
public function loadIgnoreFile ( ) { $ ignores = [ ] ; $ lines = file ( '.hgignore' ) ; foreach ( $ lines as $ line ) { $ nline = trim ( $ line ) ; $ nline = preg_replace ( '/\/\*$/' , '/' , $ nline ) ; $ ignores [ ] = $ nline ; } $ this -> ignoreFile = $ ignores ; }
Load .hgignore file.

@return void
Load . hgignore file .