src/eric7/Plugins/VcsPlugins/vcsSubversion/subversion.py

branch
eric7
changeset 10683
779cda568acb
parent 10491
acabc60b19a2
child 11006
a671918232f3
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
194 194
195 The subversion repository has to be initialized from outside eric 195 The subversion repository has to be initialized from outside eric
196 because the respective command always works locally. Therefore we 196 because the respective command always works locally. Therefore we
197 always return TRUE without doing anything. 197 always return TRUE without doing anything.
198 198
199 @param vcsDir name of the VCS directory 199 @param vcsDir name of the VCS directory (unused)
200 @type str 200 @type str
201 @param noDialog flag indicating quiet operations 201 @param noDialog flag indicating quiet operations (unused)
202 @type bool 202 @type bool
203 @return always True 203 @return always True
204 @rtype bool 204 @rtype bool
205 """ 205 """
206 return True 206 return True
282 @type dict 282 @type dict
283 @param projectDir project directory 283 @param projectDir project directory
284 @type str 284 @type str
285 @param noDialog flag indicating quiet operations 285 @param noDialog flag indicating quiet operations
286 @type bool 286 @type bool
287 @param addAll flag indicating to add all files to the repository 287 @param addAll flag indicating to add all files to the repository (unused)
288 @type bool 288 @type bool
289 @return tuple containing a flag indicating an execution without errors 289 @return tuple containing a flag indicating an execution without errors
290 and a flag indicating the version controll status 290 and a flag indicating the version controll status
291 @rtype tuple of (bool, bool) 291 @rtype tuple of (bool, bool)
292 """ 292 """
861 861
862 The default operation is to remove the local copy as well. 862 The default operation is to remove the local copy as well.
863 863
864 @param name file/directory name to be removed 864 @param name file/directory name to be removed
865 @type str or list of str 865 @type str or list of str
866 @param project flag indicating deletion of a project tree 866 @param project flag indicating deletion of a project tree (unused)
867 @type bool 867 @type bool
868 @param noDialog flag indicating quiet operations 868 @param noDialog flag indicating quiet operations
869 @type bool 869 @type bool
870 @return flag indicating successfull operation 870 @return flag indicating successfull operation
871 @rtype bool 871 @rtype bool
1561 """ 1561 """
1562 Public method to clear the status cache. 1562 Public method to clear the status cache.
1563 """ 1563 """
1564 self.statusCache = {} 1564 self.statusCache = {}
1565 1565
1566 def vcsInitConfig(self, project): # noqa: U100 1566 def vcsInitConfig(self, _project):
1567 """ 1567 """
1568 Public method to initialize the VCS configuration. 1568 Public method to initialize the VCS configuration.
1569 1569
1570 This method ensures, that an ignore file exists. 1570 This method ensures, that an ignore file exists.
1571 1571
1572 @param project reference to the project 1572 @param _project reference to the project (unused)
1573 @type Project 1573 @type Project
1574 """ 1574 """
1575 configPath = getConfigPath() 1575 configPath = getConfigPath()
1576 if os.path.exists(configPath): 1576 if os.path.exists(configPath):
1577 amendConfig() 1577 amendConfig()
1634 res = dia.startProcess(args, wd) 1634 res = dia.startProcess(args, wd)
1635 if res: 1635 if res:
1636 dia.exec() 1636 dia.exec()
1637 1637
1638 def vcsOptionsDialog( 1638 def vcsOptionsDialog(
1639 self, project, archive, editable=False, parent=None # noqa: U100 1639 self, project, _archive, editable=False, parent=None # noqa: U100
1640 ): 1640 ):
1641 """ 1641 """
1642 Public method to get a dialog to enter repository info. 1642 Public method to get a dialog to enter repository info.
1643 1643
1644 @param project reference to the project object 1644 @param project reference to the project object
1645 @type Project 1645 @type Project
1646 @param archive name of the project in the repository 1646 @param _archive name of the project in the repository (unused)
1647 @type str 1647 @type str
1648 @param editable flag indicating that the project name is editable 1648 @param editable flag indicating that the project name is editable (unused)
1649 @type bool 1649 @type bool
1650 @param parent parent widget 1650 @param parent parent widget
1651 @type QWidget 1651 @type QWidget
1652 @return reference to the instantiated options dialog 1652 @return reference to the instantiated options dialog
1653 @rtype SvnOptionsDialog 1653 @rtype SvnOptionsDialog

eric ide

mercurial