When rewriting #version method source, a keyword is also rewritten (CVS and SVN uses different keywords)
--- a/StoreSourceCodeManager.st Fri Sep 23 19:28:55 2011 +0200
+++ b/StoreSourceCodeManager.st Tue Sep 27 18:05:13 2011 +0200
@@ -185,6 +185,19 @@
"Created: / 19-04-2011 / 12:44:26 / cg"
"Modified: / 19-04-2011 / 13:52:34 / cg"
+!
+
+versionMethodKeyword
+
+ "Answers the keyword used by the version management system to
+ expand a current version in a file (_without_ dollars). For
+ CVS it is 'Header', for SVN 'Id', others may use different
+ keywords. If nil is returned, then the version management does
+ not use any keyword."
+
+ ^nil
+
+ "Created: / 27-09-2011 / 16:47:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!StoreSourceCodeManager class methodsFor:'saving'!
@@ -304,5 +317,5 @@
!StoreSourceCodeManager class methodsFor:'documentation'!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic3/StoreSourceCodeManager.st,v 1.15 2011-06-29 14:11:04 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic3/StoreSourceCodeManager.st,v 1.16 2011-09-27 16:05:13 vrany Exp $'
! !