46 from .SvnInfoDialog import SvnInfoDialog |
46 from .SvnInfoDialog import SvnInfoDialog |
47 from .SvnRelocateDialog import SvnRelocateDialog |
47 from .SvnRelocateDialog import SvnRelocateDialog |
48 from .SvnUrlSelectionDialog import SvnUrlSelectionDialog |
48 from .SvnUrlSelectionDialog import SvnUrlSelectionDialog |
49 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
49 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
50 from .SvnStatusMonitorThread import SvnStatusMonitorThread |
50 from .SvnStatusMonitorThread import SvnStatusMonitorThread |
|
51 from .SvnUtilities import getConfigPath, amendConfig, createDefaultConfig |
51 |
52 |
52 from .ProjectBrowserHelper import SvnProjectBrowserHelper |
53 from .ProjectBrowserHelper import SvnProjectBrowserHelper |
53 |
54 |
54 from Plugins.VcsPlugins.vcsSubversion.SvnDialog import SvnDialog as SvnProcessDialog |
55 from Plugins.VcsPlugins.vcsSubversion.SvnDialog import SvnDialog as SvnProcessDialog |
55 |
56 |
1491 """ |
1492 """ |
1492 Public method to clear the status cache. |
1493 Public method to clear the status cache. |
1493 """ |
1494 """ |
1494 self.statusCache = {} |
1495 self.statusCache = {} |
1495 |
1496 |
|
1497 def vcsInitConfig(self, project): |
|
1498 """ |
|
1499 Public method to initialize the VCS configuration. |
|
1500 |
|
1501 This method ensures, that eric specific files and directories are ignored. |
|
1502 |
|
1503 @param project reference to the project (Project) |
|
1504 """ |
|
1505 configPath = getConfigPath() |
|
1506 if os.path.exists(configPath): |
|
1507 amendConfig() |
|
1508 else: |
|
1509 createDefaultConfig() |
|
1510 |
1496 def vcsName(self): |
1511 def vcsName(self): |
1497 """ |
1512 """ |
1498 Public method returning the name of the vcs. |
1513 Public method returning the name of the vcs. |
1499 |
1514 |
1500 @return always 'Subversion' (string) |
1515 @return always 'Subversion' (string) |