Project/Project.py

changeset 1880
dbd4d7698310
parent 1879
194a055fff04
child 1939
eadb2328d7d4
diff -r 194a055fff04 -r dbd4d7698310 Project/Project.py
--- a/Project/Project.py	Mon May 28 15:59:36 2012 +0200
+++ b/Project/Project.py	Tue May 29 20:59:40 2012 +0200
@@ -1946,7 +1946,6 @@
                         self.vcs = self.initVCS()
                         self.setDirty(True)
                         if self.vcs is not None:
-                            # TODO: ensure a minimal VCS configuration (mgmt dir excluded)
                             # edit VCS command options
                             vcores = E5MessageBox.yesNo(self.ui,
                                 self.trUtf8("New Project"),
@@ -2004,7 +2003,6 @@
                         self.vcs = self.initVCS()
                 self.setDirty(True)
                 if self.vcs is not None:
-                    # TODO: ensure a minimal VCS configuration (mgmt dir excluded)
                     # edit VCS command options
                     vcores = E5MessageBox.yesNo(self.ui,
                         self.trUtf8("New Project"),
@@ -3738,6 +3736,8 @@
                 if forProject:
                     self.pdata["VCS"][0] = 'None'
                     self.setDirty(True)
+            else:
+                vcs.vcsInitConfig(self)
         
         if vcs and forProject:
             # set the vcs options

eric ide

mercurial