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;
    }