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

Sat, 15 Jun 2013 15:54:55 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 15 Jun 2013 15:54:55 +0200
changeset 2718
af0ba4c4bea6
parent 2714
9f8529263422
child 2721
63e4c6545ac1

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

IconEditor/cursors/cursors_rc.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/IconEditor/cursors/cursors_rc.py	Thu Jun 13 19:28:13 2013 +0200
+++ b/IconEditor/cursors/cursors_rc.py	Sat Jun 15 15:54:55 2013 +0200
@@ -2,8 +2,8 @@
 
 # Resource object code
 #
-# Created: Fr. Dez 7 18:40:19 2012
-#      by: The Resource Compiler for PyQt (Qt v4.8.3)
+# Created: Sa. Jun 15 15:50:33 2013
+#      by: The Resource Compiler for PyQt (Qt v4.8.4)
 #
 # WARNING! All changes made in this file will be lost!
 
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Jun 13 19:28:13 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Sat Jun 15 15:54:55 2013 +0200
@@ -1906,6 +1906,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