2197 return |
2197 return |
2198 |
2198 |
2199 cfgFile = os.path.join(repodir, self.adminDir, "hgrc") |
2199 cfgFile = os.path.join(repodir, self.adminDir, "hgrc") |
2200 if not os.path.exists(cfgFile): |
2200 if not os.path.exists(cfgFile): |
2201 try: |
2201 try: |
|
2202 # TODO: open a dialog to enter the basic data |
|
2203 # default and default-push |
2202 cfg = open(cfgFile, "w") |
2204 cfg = open(cfgFile, "w") |
2203 cfg.close() |
2205 cfg.close() |
2204 self.__monitorRepoIniFile(repodir) |
2206 self.__monitorRepoIniFile(repodir) |
2205 except IOError: |
2207 except IOError: |
2206 pass |
2208 pass |