code: public function getLocalChanges(PackageInterface $package, $path)
      {
          if (!is_dir($path.'/.hg')) {
              return null;
          }
  
          $this->process->execute('hg st', $output, realpath($path));
  
          return trim($output) ?: null;
      }
docs: {@inheritDoc}