lib/PHPHg/Repository.php
public function checkFiles($options = "-m") {

        try {
            $output = $this->cmd(sprintf('status %s', $options));
            if (strlen($output['output']) == 0) {
                $output['output'] = "No files modified.";
                $output['modified'] = false;
            } else {
                $output['modified'] = true;
            }
            return $output;
        } catch (Exception $ex) {
            return $ex;
        }
    }
public function checkFiles($options = "-m") {

        try {
            $output = $this->cmd(sprintf('status %s', $options));
            if (strlen($output['output']) == 0) {
                $output['output'] = "No files modified.";
                $output['modified'] = false;
            } else {
                $output['modified'] = true;
            }
            return $output;
        } catch (Exception $ex) {
            return $ex;
        }
    }
public function checkFiles ( $ options = "-m" ) { try { $ output = $ this -> cmd ( sprintf ( 'status %s' , $ options ) ) ; if ( strlen ( $ output [ 'output' ] ) == 0 ) { $ output [ 'output' ] = "No files modified." ; $ output [ 'modified' ] = false ; } else { $ output [ 'modified' ] = true ; } return $ output ; } catch ( Exception $ ex ) { return $ ex ; } }
Check if they are  local files modified
Check if they are local files modified