Ammended the Mercurial a little bit to generate a minimal user config file instead of an empty one. 5_3_x

Sat, 15 Jun 2013 15:57:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 15 Jun 2013 15:57:36 +0200
branch
5_3_x
changeset 2719
06c04ad630b5
parent 2715
bf64950a357e
child 2724
68d67e0f9773

Ammended the Mercurial a little bit to generate a minimal user config file instead of an empty one.

Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Jun 13 19:28:13 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Sat Jun 15 15:57:36 2013 +0200
@@ -1890,6 +1890,7 @@
         if not os.path.exists(cfgFile):
             try:
                 f = open(cfgFile, "w")
+                f.write("[ui]\nusername = Firstname Lastname <email_address>\n")
                 f.close()
             except (IOError, OSError):
                 # ignore these

eric ide

mercurial