--- a/AbstrSCMgr.st Wed Apr 10 15:48:31 1996 +0200
+++ b/AbstrSCMgr.st Wed Apr 10 23:47:49 1996 +0200
@@ -670,6 +670,24 @@
"Modified: 9.12.1995 / 19:54:26 / cg"
!
+newestRevisionOf:aClass
+ "return the newest revision (as string) found in the repository.
+ Return nil on failure."
+
+ |log|
+
+ log := self revisionLogOf:aClass.
+ log isNil ifTrue:[^ nil].
+ ^ log at:#newestRevision ifAbsent:nil
+
+ "
+ SourceCodeManager newestRevisionOf:Array
+ SourceCodeManager newestRevisionOf:Connection
+ "
+
+ "Modified: 10.4.1996 / 23:14:24 / cg"
+!
+
revisionLogOf:aClass
"return info about the repository container and
the revisionlog as a collection of revision entries.
@@ -925,6 +943,6 @@
!AbstractSourceCodeManager class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic3/Attic/AbstrSCMgr.st,v 1.51 1996-03-08 15:57:36 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic3/Attic/AbstrSCMgr.st,v 1.52 1996-04-10 21:47:49 cg Exp $'
! !
AbstractSourceCodeManager initialize!
--- a/AbstractSourceCodeManager.st Wed Apr 10 15:48:31 1996 +0200
+++ b/AbstractSourceCodeManager.st Wed Apr 10 23:47:49 1996 +0200
@@ -670,6 +670,24 @@
"Modified: 9.12.1995 / 19:54:26 / cg"
!
+newestRevisionOf:aClass
+ "return the newest revision (as string) found in the repository.
+ Return nil on failure."
+
+ |log|
+
+ log := self revisionLogOf:aClass.
+ log isNil ifTrue:[^ nil].
+ ^ log at:#newestRevision ifAbsent:nil
+
+ "
+ SourceCodeManager newestRevisionOf:Array
+ SourceCodeManager newestRevisionOf:Connection
+ "
+
+ "Modified: 10.4.1996 / 23:14:24 / cg"
+!
+
revisionLogOf:aClass
"return info about the repository container and
the revisionlog as a collection of revision entries.
@@ -925,6 +943,6 @@
!AbstractSourceCodeManager class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.51 1996-03-08 15:57:36 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.52 1996-04-10 21:47:49 cg Exp $'
! !
AbstractSourceCodeManager initialize!