|
Class: MercurialSourceCodeManager
Object
|
+--AbstractSourceCodeManager
|
+--MercurialSourceCodeManager
- Package:
- stx:libbasic3
- Category:
- System-SourceCodeManagement
- Version:
- rev:
1.12
date: 2016/06/03 09:51:28
- user: cg
- file: MercurialSourceCodeManager.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
- Author:
- Claus Gittinger
Attention: this will be removed soon - it has been obsoleted by the
new mercurial support found in libscm/mercurial.
SourceCodeManager which accesses the sourcecode through hg (mercurial).
ongoing work - unfinished and unusable
Comment:
The code here is a copy-paste mess; it definitely needs some cleanup...
accessing
-
hgBinDirectory: ignoredString
-
ignored - for backward compatibility (to read old settings files)
-
hgCommandTimeout
-
360
-
hgCommandTimeout: aTimeDuration
-
-
hgCommitOptions
-
-
hgCommitOptions: aString
-
-
hgExecutable
-
return the name of the hg executable.
-
hgExecutable: aString
-
set the name of the hg executable.
-
hgTmpDirectory
-
return the name of the tmp repository.
That's the directory, where temporary files are created for checkin/checkout.
If nil, the system's default tempDirectory is used.
-
hgTmpDirectory: aPathNameString
-
set the name of the tmp repository.
That's the directory, where temporary files are created for checkin/checkout.
If nil, the system's default tempDirectory is used.
-
hgUpdateOptions
-
-
hgUpdateOptions: aString
-
-
knownModules
-
return the modules, we currently know
-
knownRepositories
-
return the modules, we currently know
-
repositoryForPackage: packageId
-
superclass AbstractSourceCodeManager class says that I am responsible to implement this method
-
repositoryInfoPerModule
-
return the dictionary, which associates hgRepositories to module names.
If no entry is contained in this dictionary for some module,
the default crepository will be used.
-
repositoryInfoPerModule: aDictionary
-
set the dictionary, which associates repositories to module names.
If no entry is contained in this dictionary for some module,
the default repository will be used.
-
repositoryName
-
return the name of the global repository.
This is used, if no per-module repository is defined.
-
repositoryName: aDirectoryName
-
set the name of the repository;
that's the name of the global repository, which is used
if no specific repository was defined for a module.
-
repositoryName: aRepositoryName forModule: aModuleName
-
set the repository which provides the sources for all
classes in a particular module.
This can be used from an rc-script, to specify a repository
for a particular module.
If left unspecified, the global (i.e. fallBack) repository is used.
-
repositoryNameForModule: aModuleName
-
return the repository which provides the sources for all
classes in a particular module.
Nil is returned for unspecified moduleRoots; in this case,
the global (i.e. fallBack) repository will be used for source access.
-
repositoryNameForPackage: packageId
-
superclass AbstractSourceCodeManager class says that I am responsible to implement this method
-
workDirectory
-
-
workDirectory: aPath
-
basic administration
-
createContainerFor: aClass inModule: moduleName directory: dirName container: fileName
-
create a new container & check into it an initial version of aClass
debugging
-
verboseSourceCodeAccess
-
-
verboseSourceCodeAccess: aBoolean
-
initialization
-
forgetDisabledModules
-
-
hgCommandSemaphore
-
at most 10 hg activities concurrently
-
initialize
-
HGCommandSemaphore := (Semaphore new:10) name:'Concurrent Mercurial Commands'. "/ at most 10 hg activities concurrently
usage example(s):
AbstractSourceCodeManager initialize
MercurialSourceCodeManager initialize
|
-
initializeForRepository: aDirectoryName
-
reinitialize.
Can be used from the launcher to change/configure the repository.
queries
-
isExperimental
-
-
isResponsibleForPackage: aString
-
JV@2011-07-09: The real check is too slow. Cache needed here
-
managerTypeName
-
(comment from inherited method)
Answers version manager name suitable for UI,
i,e., CVS, SubVersion, Perforce
-
nameOfVersionMethodForExtensions
-
(comment from inherited method)
that is the old name; now, we use extensionsVersion_<SCM>
-
nameOfVersionMethodInClasses
-
(comment from inherited method)
that is the old name; now, we use version_<SCM>
-
settingsApplicationClass
-
link to my settings application (needed for the settings dialog
saving
-
savePreferencesOn: aStream
-
testing
-
isMercurial
-
|