Plugins/PluginVcsMercurial.py

changeset 1312
12506dba74dc
parent 1307
9f7a056dbcc6
child 1509
c0b5e693b0eb
--- a/Plugins/PluginVcsMercurial.py	Fri Sep 09 19:15:06 2011 +0200
+++ b/Plugins/PluginVcsMercurial.py	Fri Sep 09 19:31:51 2011 +0200
@@ -160,6 +160,7 @@
             "ServerPort": 8000,
             "ServerStyle": "",
             "CleanupPatterns": "*.orig *.rej *~",
+            "CreateBackup": False,
         }
         
         from VcsPlugins.vcsMercurial.ProjectHelper import HgProjectHelper
@@ -203,7 +204,8 @@
         @param key the key of the value to get
         @return the requested setting
         """
-        if key in ["StopLogOnCopy", "UseLogBrowser", "PullUpdate", "PreferUnbundle"]:
+        if key in ["StopLogOnCopy", "UseLogBrowser", "PullUpdate", "PreferUnbundle",
+                   "CreateBackup"]:
             return Preferences.toBool(Preferences.Prefs.settings.value(
                 "Mercurial/" + key, self.__mercurialDefaults[key]))
         elif key in ["LogLimit", "CommitMessages", "ServerPort"]:

eric ide

mercurial