|
Class: PerforceVersionInfo (private in PerforceSourceCodeManager
This class is only visible from within
PerforceSourceCodeManager.
Object
|
+--VersionInfo
|
+--PerforceSourceCodeManager::PerforceVersionInfo
- Package:
- stx:libbasic3
- Category:
- System-SourceCodeManagement
- Owner:
- PerforceSourceCodeManager
- Author:
- cg (cg@AQUA-DUO)
In ancient times, Class used to return a Dictionary when asked for versionInfo.
This has been replaced by instances of VersionInfo and subclasses.
PerforceVersionInfo adds some P4 specific data.
instance creation
-
fromRCSString: aString
-
cg: I guess this was copy-pasted and then not renamed, as it should.
Also the comments are still referring th CVS.
As this is a customer-provided method, and I don't know about any
consequences, I'll not fix and rename the method
Usage example(s):
| versionInfo s|
versionInfo := PerforceVersionInfo fromRepositoryPathName:'//depot/applistx/util/rtdb/RTDBInterfaceInspector.st'.
versionInfo revision:26.
versionInfo user:'penk'.
s := CharacterWriteStream on:(String basicNew:40).
Date today printOn:s format:'%d-%m-%y' language:nil.
versionInfo date:s contents.
s := CharacterWriteStream on:(String basicNew:40).
Timestamp now printOn:s format:'%h-%m-%s.%i'.
versionInfo time:s contents.
PerforceVersionInfo fromRCSString:versionInfo getVersionString.
PerforceVersionInfo fromRCSString:'$Header: /cvs/stx/stx/libbasic3/PerforceSourceCodeManager.st,v 1.50 2021/01/20 15:24:00 cg Exp $'
|
-
fromRepositoryPathName: something
-
accessing
-
repositoryPathName
-
-
repositoryPathName: something
-
-
revisionNumber
-
-
state
-
-
timeZone
-
-
timezone
-
(comment from inherited method)
Not known
queries
-
getVersionString
-
-
getVersionString_ownVersion
-
|