Plugins/VcsPlugins/vcsMercurial/hg.py

branch
5_3_x
changeset 2719
06c04ad630b5
parent 2302
f29e9405c851
child 2977
e238e600b2a8
equal deleted inserted replaced
2715:bf64950a357e 2719:06c04ad630b5
1888 """ 1888 """
1889 cfgFile = getConfigPath() 1889 cfgFile = getConfigPath()
1890 if not os.path.exists(cfgFile): 1890 if not os.path.exists(cfgFile):
1891 try: 1891 try:
1892 f = open(cfgFile, "w") 1892 f = open(cfgFile, "w")
1893 f.write("[ui]\nusername = Firstname Lastname <email_address>\n")
1893 f.close() 1894 f.close()
1894 except (IOError, OSError): 1895 except (IOError, OSError):
1895 # ignore these 1896 # ignore these
1896 pass 1897 pass
1897 self.userEditor = MiniEditor(cfgFile, "Properties") 1898 self.userEditor = MiniEditor(cfgFile, "Properties")

eric ide

mercurial