author | Claus Gittinger <cg@exept.de> |
Sun, 04 Dec 2011 15:40:36 +0100 | |
changeset 925 | d14d4d0e3414 |
parent 924 | a9f83be0daee |
child 929 | b74f9f659232 |
permissions | -rw-r--r-- |
665 | 1 |
" |
2 |
Copyright (c) 2007-2010 Jan Vrany |
|
3 |
Copyright (c) 2009-2010 eXept Software AG |
|
4 |
||
5 |
Permission is hereby granted, free of charge, to any person |
|
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
25 |
" |
|
482 | 26 |
"{ Package: 'stx:libsvn' }" |
378 | 27 |
|
28 |
AbstractSourceCodeManager subclass:#SVNSourceCodeManager |
|
924
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
29 |
instanceVariableNames:'' |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
30 |
classVariableNames:'LoadInProgressQuery' |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
31 |
poolDictionaries:'' |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
32 |
category:'System-SourceCodeManagement' |
378 | 33 |
! |
34 |
||
35 |
!SVNSourceCodeManager class methodsFor:'documentation'! |
|
36 |
||
665 | 37 |
copyright |
38 |
" |
|
39 |
Copyright (c) 2007-2010 Jan Vrany |
|
40 |
Copyright (c) 2009-2010 eXept Software AG |
|
41 |
||
42 |
Permission is hereby granted, free of charge, to any person |
|
43 |
obtaining a copy of this software and associated documentation |
|
44 |
files (the 'Software'), to deal in the Software without |
|
45 |
restriction, including without limitation the rights to use, |
|
46 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
47 |
copies of the Software, and to permit persons to whom the |
|
48 |
Software is furnished to do so, subject to the following |
|
49 |
conditions: |
|
50 |
||
51 |
The above copyright notice and this permission notice shall be |
|
52 |
included in all copies or substantial portions of the Software. |
|
53 |
||
54 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
55 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
56 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
57 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
58 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
59 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
60 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
61 |
OTHER DEALINGS IN THE SOFTWARE. |
|
62 |
||
63 |
" |
|
64 |
! |
|
65 |
||
378 | 66 |
documentation |
67 |
" |
|
68 |
For now, this is a dummy SourceCodeManager. |
|
69 |
It is only provided to deliver the correct versionMethodNameTemplates |
|
70 |
and versionMethod names. |
|
71 |
||
72 |
Might get more in the future. |
|
73 |
" |
|
74 |
! ! |
|
75 |
||
665 | 76 |
!SVNSourceCodeManager class methodsFor:'Signal constants'! |
77 |
||
78 |
loadInProgressQuery |
|
79 |
||
80 |
LoadInProgressQuery ifNil: |
|
81 |
[LoadInProgressQuery := QuerySignal new]. |
|
82 |
^LoadInProgressQuery |
|
83 |
! ! |
|
84 |
||
85 |
!SVNSourceCodeManager class methodsFor:'basic access'! |
|
86 |
||
87 |
checkinClass:aClass fileName:classFileName directory:packageDir module:moduleDir source:sourceFile logMessage:logMessage force:force |
|
88 |
"checkin of a class into the source repository. |
|
89 |
Return true if ok, false if not." |
|
90 |
||
91 |
^ self shouldImplement |
|
92 |
! |
|
93 |
||
94 |
checkoutModule:aModule directory:aPackage andDo:aBlock |
|
95 |
"check out everything from a package into a temporary directory. |
|
96 |
Then evaluate aBlock, passing the name of that temp-directory. |
|
97 |
Afterwards, the tempDir is removed. |
|
98 |
Return true, if OK, false if any error occurred." |
|
99 |
||
100 |
| pkg tempDir repo workingCopy ok | |
|
101 |
pkg := (PackageId module: aModule directory: aPackage) asSymbol. |
|
102 |
repo := SVN::RepositoryManager repositoryForPackage: pkg. |
|
103 |
repo ifNil:[self error:('No repository for package %1' bindWith: pkg)]. |
|
104 |
[ok := false. |
|
105 |
tempDir := Filename newTemporaryDirectory. |
|
106 |
workingCopy := repo workingCopyIn: tempDir. |
|
107 |
workingCopy checkout. |
|
108 |
ok := true. |
|
109 |
aBlock value: tempDir] ensure: |
|
110 |
[[tempDir recursiveRemove] |
|
111 |
on: Error do: |
|
112 |
[:ex| |
|
113 |
OperatingSystem isMSWINDOWSlike |
|
114 |
ifTrue:[Delay waitForSeconds: 3.[tempDir recursiveRemove] on: Error do:["nothing"]] |
|
115 |
ifFalse:[ex pass]]]. |
|
116 |
^ok |
|
117 |
||
118 |
"Modified: / 19-04-2010 / 20:13:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
119 |
! |
|
120 |
||
121 |
streamForClass:aClass fileName:classFileName revision:revisionString directory:packageDir module:moduleDir cache:doCache |
|
122 |
"extract a classes source code and return an open readStream on it. |
|
123 |
A revision of nil selects the current (in image) revision. |
|
124 |
The classes source code is extracted using the revision and the sourceCodeInfo, |
|
125 |
which itself is extracted from the classes packageString." |
|
126 |
||
127 |
| pkg repo rev | |
|
128 |
pkg := moduleDir , ':' , packageDir. |
|
129 |
repo := SVN::RepositoryManager repositoryForPackage: pkg. |
|
130 |
repo ifNil:[^self error:'No repository for package ', pkg]. |
|
131 |
rev := SVN::Revision fromString: revisionString. |
|
132 |
^(repo cat: classFileName revision: rev) readStream |
|
133 |
||
134 |
"Modified: / 02-01-2010 / 13:25:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
135 |
! ! |
|
136 |
||
137 |
!SVNSourceCodeManager class methodsFor:'basic administration'! |
|
138 |
||
139 |
checkForExistingContainer:fileName inModule:moduleName directory:dirName |
|
140 |
"check for a container to be present" |
|
141 |
||
142 |
^ self shouldImplement |
|
143 |
! |
|
144 |
||
145 |
checkForExistingModule:moduleName |
|
146 |
"check for a module directory to be present" |
|
147 |
||
148 |
^ self shouldImplement |
|
149 |
! |
|
150 |
||
151 |
checkForExistingModule:moduleDir directory:packageDir |
|
152 |
"check for a package directory to be present" |
|
153 |
||
154 |
^ self shouldImplement |
|
155 |
! |
|
156 |
||
157 |
createContainerFor:aClass inModule:moduleName directory:dirName container:fileName |
|
158 |
"create a new container & check into it an initial version of aClass" |
|
159 |
||
160 |
^ self shouldImplement |
|
161 |
! |
|
162 |
||
163 |
createModule:moduleName |
|
164 |
"create a new module directory" |
|
165 |
||
166 |
^ self shouldImplement |
|
167 |
! |
|
168 |
||
169 |
createModule:module directory:directory |
|
170 |
"create a new package directory" |
|
171 |
||
172 |
^ self shouldImplement |
|
173 |
! |
|
174 |
||
175 |
initialRevisionStringFor:aClass inModule:moduleDir directory:packageDir container:fileName |
|
176 |
"return a string usable as initial revision string" |
|
177 |
||
178 |
^ self shouldImplement |
|
179 |
! |
|
180 |
||
181 |
revisionLogOf:clsOrNil fromRevision:rev1OrNil toRevision:rev2OrNil numberOfRevisions:limitOrNil fileName:classFileName directory:packageDir module:moduleDir |
|
182 |
"actually do return a revisionLog. The main worker method. |
|
183 |
This must be implemented by a concrete source-code manager" |
|
184 |
||
185 |
^ self shouldImplement |
|
186 |
! ! |
|
187 |
||
924
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
188 |
!SVNSourceCodeManager class methodsFor:'misc'! |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
189 |
|
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
190 |
savePreferencesOn:aFileStream |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
191 |
|
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
192 |
"Nothing to do, since my preferences are stored in |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
193 |
UserPreferences dictionary" |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
194 |
|
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
195 |
"Created: / 10-06-2011 / 14:15:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
196 |
! ! |
a9f83be0daee
category of: #savePreferencesOn:
Claus Gittinger <cg@exept.de>
parents:
921
diff
changeset
|
197 |
|
378 | 198 |
!SVNSourceCodeManager class methodsFor:'queries'! |
199 |
||
200 |
isExperimental |
|
665 | 201 |
^ false |
202 |
"/^ OperatingSystem getLoginName ~= 'cg'. |
|
203 |
"/^ true |
|
570 | 204 |
|
665 | 205 |
"Modified: / 05-12-2009 / 10:23:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
570 | 206 |
! |
207 |
||
665 | 208 |
isResponsibleForPackage: packageId |
209 |
||
210 |
UserPreferences current svnEnabled ifFalse:[^false]. |
|
211 |
||
212 |
^SVN::RepositoryManager current hasRepositoryForPackage: packageId |
|
213 |
||
214 |
"Created: / 05-12-2009 / 10:36:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
215 |
"Modified: / 15-09-2010 / 14:55:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
378 | 216 |
! |
217 |
||
218 |
managerTypeName |
|
665 | 219 |
^ 'SubVersion' |
220 |
||
221 |
"Modified: / 07-07-2011 / 23:11:41 / jv" |
|
378 | 222 |
! |
223 |
||
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
224 |
managerTypeNameShort |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
225 |
"Answers short version manager name suitable for UI, |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
226 |
i,e., CVS, SVN, P4. Used in cases where sorter strings |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
227 |
are preferred. Defaults to #managerTypeName" |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
228 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
229 |
^'SVN' |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
230 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
231 |
"Created: / 03-10-2011 / 13:28:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
925
d14d4d0e3414
changed: #managerTypeNameShort
Claus Gittinger <cg@exept.de>
parents:
924
diff
changeset
|
232 |
"Modified (format): / 04-12-2011 / 10:15:36 / cg" |
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
233 |
! |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
234 |
|
378 | 235 |
nameOfVersionMethodForExtensions |
236 |
^ #'extensionsVersion_SVN' |
|
237 |
! |
|
238 |
||
239 |
nameOfVersionMethodInClasses |
|
240 |
^ #'version_SVN' |
|
586
8f0468063710
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
571
diff
changeset
|
241 |
! |
8f0468063710
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
571
diff
changeset
|
242 |
|
8f0468063710
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
571
diff
changeset
|
243 |
settingsApplicationClass |
587
02d7ed119335
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
586
diff
changeset
|
244 |
"link to my settings application (needed for the settings dialog" |
02d7ed119335
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
586
diff
changeset
|
245 |
|
665 | 246 |
^ SVN::ConfigurationApp |
247 |
||
248 |
"Modified: / 07-07-2011 / 23:12:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
249 |
! |
|
250 |
||
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
251 |
versionMethodKeyword |
586
8f0468063710
added: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents:
571
diff
changeset
|
252 |
|
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
253 |
"Answers the keyword used by the version management system to |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
254 |
expand a current version in a file (_without_ dollars). For |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
255 |
CVS it is 'Header', for SVN 'Id', others may use different |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
256 |
keywords. If nil is returned, then the version management does |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
257 |
not use any keyword." |
665 | 258 |
|
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
259 |
^'Id' |
665 | 260 |
|
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
261 |
"Created: / 27-09-2011 / 16:46:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
378 | 262 |
! ! |
263 |
||
539 | 264 |
!SVNSourceCodeManager class methodsFor:'source code access'! |
265 |
||
266 |
loadPackageWithId: aPackageId fromRepositoryAsAutoloaded: doLoadAsAutoloaded |
|
267 |
||
541 | 268 |
"Return true if loaded, false otherwise." |
269 |
||
540 | 270 |
| retval loadBlock | |
539 | 271 |
|
272 |
loadBlock := [ |
|
540 | 273 |
| repo packageDir manager| |
274 |
manager := SVN::RepositoryManager current. |
|
539 | 275 |
repo := manager repositoryForPackage: aPackageId. |
276 |
retval := (repo notNil and:[repo exists]) ifTrue:[ |
|
665 | 277 |
repo workingCopy checkout: SVN::Revision head full: true. |
539 | 278 |
packageDir := Smalltalk packageDirectoryForPackageId:aPackageId. |
665 | 279 |
"Quick and dirty hack to support old version of Smalltalk/X" |
280 |
(Smalltalk respondsTo: #loadPackage:fromDirectory:asAutoloaded:) |
|
281 |
ifTrue: |
|
282 |
["New API" |
|
283 |
Smalltalk |
|
284 |
loadPackage:aPackageId |
|
285 |
fromDirectory:packageDir |
|
286 |
asAutoloaded:doLoadAsAutoloaded] |
|
287 |
ifFalse: |
|
288 |
["Old API" |
|
289 |
Smalltalk |
|
290 |
loadPackageWithId:aPackageId |
|
291 |
fromDirectory:packageDir |
|
292 |
asAutoloaded:doLoadAsAutoloaded |
|
293 |
]. |
|
539 | 294 |
] ifFalse:[false] |
295 |
]. |
|
296 |
||
665 | 297 |
(SVNSourceCodeManager loadInProgressQuery query == true) |
539 | 298 |
ifTrue:[loadBlock value] |
299 |
ifFalse:[ |
|
665 | 300 |
SVNSourceCodeManager loadInProgressQuery |
539 | 301 |
answer: true |
302 |
do:[ |
|
303 |
SVN::ProgressDialog |
|
304 |
openOn: loadBlock |
|
305 |
title: ' Loading...' |
|
306 |
subtitle: aPackageId asText allItalic |
|
307 |
] |
|
308 |
]. |
|
309 |
||
541 | 310 |
^ retval |
539 | 311 |
|
312 |
"Created: / 09-04-2009 / 17:20:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
665 | 313 |
"Modified: / 25-04-2011 / 15:20:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
539 | 314 |
! ! |
315 |
||
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
316 |
!SVNSourceCodeManager class methodsFor:'source code administration'! |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
317 |
|
665 | 318 |
getExistingContainersInModule:aModule directory:aPackage |
319 |
"{ Pragma: +optSpace }" |
|
320 |
||
321 |
^ self shouldImplement |
|
322 |
! |
|
323 |
||
324 |
getExistingDirectoriesInModule:aModule |
|
325 |
"{ Pragma: +optSpace }" |
|
326 |
||
327 |
^ self shouldImplement |
|
328 |
! |
|
329 |
||
330 |
getExistingModules |
|
331 |
"{ Pragma: +optSpace }" |
|
332 |
||
333 |
^ self shouldImplement |
|
334 |
! |
|
335 |
||
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
336 |
revisionInfoFromString:aString |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
337 |
"{ Pragma: +optSpace }" |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
338 |
|
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
339 |
"return a dictionary filled with revision info. |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
340 |
This extracts the relevant info from aString." |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
341 |
|
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
342 |
|
797
48f8701af829
changed: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
665
diff
changeset
|
343 |
^ SVNVersionInfo fromSVNString:aString |
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
344 |
|
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
345 |
|
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
346 |
" |
797
48f8701af829
changed: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
665
diff
changeset
|
347 |
self revisionInfoFromString:(Array version_SVN) |
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
348 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
349 |
self revisionInfoFromString:(stx_libbasic2 extensionsVersion_CVS) |
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
350 |
" |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
351 |
|
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
352 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
353 |
"Modified: / 29-01-1997 / 19:00:35 / cg" |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
354 |
"Modified: / 03-10-2011 / 13:02:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
797
48f8701af829
changed: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
665
diff
changeset
|
355 |
"Modified (comment): / 29-09-2011 / 21:54:26 / cg" |
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
356 |
|
571
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
357 |
! ! |
28a4f762f3e8
added: #revisionInfoFromString:
Claus Gittinger <cg@exept.de>
parents:
570
diff
changeset
|
358 |
|
665 | 359 |
!SVNSourceCodeManager class methodsFor:'subclass responsibility'! |
360 |
||
361 |
reportHistoryLogSince:timeGoal filterSTSources:filter filterUser:userFilter filterRepository:repositoryFilter filterModules:moduleFilter inTo:aBlock |
|
362 |
"superclass AbstractSourceCodeManager class says that I am responsible to implement this method" |
|
363 |
||
364 |
^ self shouldImplement |
|
365 |
! ! |
|
366 |
||
378 | 367 |
!SVNSourceCodeManager class methodsFor:'testing'! |
368 |
||
369 |
isSVN |
|
370 |
^ true |
|
371 |
! ! |
|
372 |
||
373 |
!SVNSourceCodeManager class methodsFor:'documentation'! |
|
374 |
||
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
375 |
version |
921
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
376 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
377 |
^ '$Header$' |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
378 |
! |
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
379 |
|
6c3ba44ed3a5
added: #managerTypeNameShort
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
851
diff
changeset
|
380 |
version_CVS |
851
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
381 |
^ '$Header$' |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
382 |
! |
32edde5d1f19
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
797
diff
changeset
|
383 |
|
665 | 384 |
version_SVN |
385 |
^ '§Id§' |
|
378 | 386 |
! ! |