original_string: protected function save() {
          // write contents modify in hgrc
          if ($fileConfig = @fopen($this->repository->getDir() . $this->repository->getFileConfig() . "hgrc", 'w+')) {
  			$ret = fwrite($fileConfig, $this->arr2ini($this->configuration));
  			fclose($fileConfig);
  			return $ret;
  		}
  		return false;
      }
code: protected function save() {
          // write contents modify in hgrc
          if ($fileConfig = @fopen($this->repository->getDir() . $this->repository->getFileConfig() . "hgrc", 'w+')) {
  			$ret = fwrite($fileConfig, $this->arr2ini($this->configuration));
  			fclose($fileConfig);
  			return $ret;
  		}
  		return false;
      }
code_tokens: protected function save ( ) { // write contents modify in hgrc if ( $ fileConfig = @ fopen ( $ this -> repository -> getDir ( ) . $ this -> repository -> getFileConfig ( ) . "hgrc" , 'w+' ) ) { $ ret = fwrite ( $ fileConfig , $ this -> arr2ini ( $ this -> configuration ) ) ; fclose ( $ fileConfig ) ; return $ ret ; } return false ; }
docstring: Save the config to file
  
  @return boolean
docstring_tokens: Save the config to file