7
7
Module defining configuration variables for the VCS package
10
from qt import qApp, QStringList
10
from PyQt4.QtGui import QApplication
11
from PyQt4.QtCore import QStringList
13
#####################################################################
14
## Subversion specific stuff below
15
#####################################################################
17
# Available subversion variants
18
ConfigSvnSystems = ['Subversion']
20
# Display strings for the available subversion variants
21
# This list must be kept in sync with the one above.
22
ConfigSvnSystemsDisplay = QStringList()
23
ConfigSvnSystemsDisplay.append(\
24
QApplication.translate('VCS Systems', 'Subversion (svn)'))
28
ConfigSvnSystems.append('PySvn')
29
ConfigSvnSystemsDisplay.append(\
30
QApplication.translate('VCS Systems', 'Subversion (pysvn)'))
34
#####################################################################
35
## General stuff below
36
#####################################################################
12
38
# Available version control systems
13
ConfigVcsSystems = ['None', 'CVS', 'Subversion']
39
ConfigVcsSystems = ['None', 'CVS'] + ConfigSvnSystems
15
41
# Display strings for the available version control systems
16
42
# This list must be kept in sync with the one above.
17
43
ConfigVcsSystemsDisplay = QStringList()
18
ConfigVcsSystemsDisplay.append(qApp.translate('VCS Systems', 'None'))
19
ConfigVcsSystemsDisplay.append(qApp.translate('VCS Systems', 'CVS'))
20
ConfigVcsSystemsDisplay.append(qApp.translate('VCS Systems', 'Subversion'))
44
ConfigVcsSystemsDisplay.append(\
45
QApplication.translate('VCS Systems', 'None'))
46
ConfigVcsSystemsDisplay.append(\
47
QApplication.translate('VCS Systems', 'CVS'))
48
for svn in ConfigSvnSystemsDisplay:
49
ConfigVcsSystemsDisplay.append(svn)
22
51
# List of indicators (directory or file) for a specific
23
52
# version control system.