author | Claus Gittinger <cg@exept.de> |
Sun, 15 Jan 2012 15:28:19 +0100 | |
changeset 554 | 486b5ebcf2e8 |
parent 505 | 5a09b8b8d39f |
child 562 | d48401867000 |
permissions | -rw-r--r-- |
429 | 1 |
"{ Package: 'stx:goodies/monticello' }"! |
2 |
||
3 |
!Annotation class methodsFor:'instance creation'! |
|
395 | 4 |
|
5 |
mctimestamp: aString |
|
6 |
||
7 |
^MCTimestampAnnotation new timestamp: aString |
|
8 |
||
9 |
"Created: / 14-09-2010 / 15:35:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10 |
! ! |
|
11 |
||
429 | 12 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 13 |
|
14 |
includesLocalSelector:aSymbol |
|
15 |
^ self localSelectors includes:aSymbol |
|
16 |
||
17 |
"Created: / 26-08-2009 / 11:50:00 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
18 |
! ! |
|
19 |
||
429 | 20 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 21 |
|
22 |
localSelectors |
|
23 |
^ self methodDictionary collect:[:x | x selector asSymbol ] |
|
24 |
||
25 |
"Created: / 26-08-2009 / 11:53:47 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
26 |
! ! |
|
27 |
||
429 | 28 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 29 |
|
30 |
traitCompositionString |
|
31 |
^ '{}' |
|
32 |
||
33 |
"Created: / 26-08-2009 / 12:43:23 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
34 |
! ! |
|
35 |
||
429 | 36 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
150 | 37 |
|
38 |
typeOfClass |
|
395 | 39 |
"Answer a symbol uniquely describing the type of the receiver" |
40 |
"self instSpec = CompiledMethod instSpec ifTrue:[^#compiledMethod]." "Very special!!" |
|
41 |
self isBytes ifTrue:[^#bytes]. |
|
42 |
(self isWords and:[self isPointers not]) ifTrue:[^#words]. |
|
43 |
self isWeakPointers ifTrue:[^#weak]. |
|
44 |
self isVariable ifTrue:[^#variable]. |
|
45 |
^#normal. |
|
46 |
||
47 |
"Created: / 26-08-2009 / 12:45:50 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
48 |
! ! |
|
49 |
||
429 | 50 |
!Change methodsFor:'accessing'! |
395 | 51 |
|
52 |
mcDefinition |
|
53 |
||
54 |
^self objectAttributeAt: #mcDefinition |
|
55 |
||
56 |
"Created: / 08-11-2010 / 17:56:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
57 |
! ! |
|
58 |
||
429 | 59 |
!Change methodsFor:'accessing'! |
395 | 60 |
|
61 |
mcDefinition: aMCDefinition |
|
62 |
||
63 |
^self objectAttributeAt: #mcDefinition put: aMCDefinition |
|
64 |
||
65 |
"Created: / 08-11-2010 / 17:56:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
150 | 66 |
! ! |
136 | 67 |
|
436
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
68 |
!CharacterArray methodsFor:'*monticello-squeakCompatibility'! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
69 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
70 |
asStringWithNativeLineEndings |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
71 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
72 |
^self copyReplaceAll:Character return with: Character cr |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
73 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
74 |
"Created: / 12-09-2010 / 16:00:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
75 |
"Modified: / 13-10-2010 / 17:27:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
76 |
! ! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
77 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
78 |
!CharacterArray methodsFor:'*monticello-squeakCompatibility'! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
79 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
80 |
asStringWithSqueakLineEndings |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
81 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
82 |
^self copyReplaceAll:Character cr with: Character return |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
83 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
84 |
"Created: / 12-09-2010 / 16:00:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
85 |
"Modified: / 13-10-2010 / 17:28:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
86 |
! ! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
87 |
|
429 | 88 |
!Class methodsFor:'*monticello'! |
136 | 89 |
|
90 |
asClassDefinition |
|
395 | 91 |
^ MCClassDefinition |
92 |
name: self name |
|
93 |
superclassName: self superclass name |
|
94 |
traitComposition: self traitCompositionString |
|
95 |
classTraitComposition: self class traitCompositionString |
|
96 |
category: self category |
|
97 |
instVarNames: self instVarNames |
|
98 |
classVarNames: self classVarNames |
|
99 |
poolDictionaryNames: self poolDictionaryNames |
|
100 |
classInstVarNames: self class instVarNames |
|
101 |
type: self typeOfClass |
|
102 |
comment: (self organization classComment ? '') asStringWithSqueakLineEndings |
|
103 |
commentStamp: self organization commentStamp |
|
104 |
||
105 |
"Modified: / 12-09-2010 / 17:19:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
136 | 106 |
! ! |
107 |
||
429 | 108 |
!Class methodsFor:'*monticello'! |
136 | 109 |
|
110 |
classDefinitions |
|
111 |
^ Array with: self asClassDefinition |
|
112 |
! ! |
|
113 |
||
429 | 114 |
!Class methodsFor:'*monticello'! |
136 | 115 |
|
116 |
poolDictionaryNames |
|
160 | 117 |
^ self sharedPools "/ collect: [:ea | ea name "self environment keyAtIdentityValue: ea"] |
136 | 118 |
! ! |
119 |
||
429 | 120 |
!ClassDescription methodsFor:'*monticello-squeakCompatibility'! |
395 | 121 |
|
122 |
mcDefinition |
|
123 |
||
124 |
|s| |
|
125 |
||
126 |
s := WriteStream on:(String new). |
|
127 |
self |
|
128 |
basicFileOutDefinitionOn:s |
|
129 |
withNameSpace:false |
|
130 |
withPackage:false. |
|
131 |
s position: s position - 1. |
|
132 |
||
133 |
^ s contents |
|
134 |
||
135 |
"Created: / 11-09-2010 / 18:06:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
136 |
! ! |
|
137 |
||
429 | 138 |
!Object methodsFor:'*monticello'! |
136 | 139 |
|
140 |
isConflict |
|
141 |
^false |
|
142 |
! ! |
|
143 |
||
429 | 144 |
!ProjectDefinition class methodsFor:'code generation'! |
395 | 145 |
|
452
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
146 |
monticelloAncestry_code |
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
147 |
|
459
cae7224c4ab3
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
452
diff
changeset
|
148 |
^'#()' |
452
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
149 |
|
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
150 |
"Created: / 25-08-2011 / 16:49:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
151 |
! ! |
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
152 |
|
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
153 |
!ProjectDefinition class methodsFor:'code generation'! |
cbc2f85f11f8
fixes for remembering Monticello metadata
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
437
diff
changeset
|
154 |
|
395 | 155 |
monticelloTimestamps_code |
156 |
||
157 |
| methodsWithTimestamp | |
|
158 |
methodsWithTimestamp := OrderedCollection new. |
|
159 |
||
160 |
self classes do:[:cls| |
|
161 |
cls methodsDo:[:mthd| |
|
162 |
(mthd hasAnnotation: #mctimestamp:) ifTrue:[ |
|
163 |
methodsWithTimestamp add: mthd |
|
164 |
] |
|
165 |
]. |
|
166 |
]. |
|
167 |
self extensionMethods do:[:mthd| |
|
168 |
(mthd hasAnnotation: #mctimestamp:) ifTrue:[ |
|
169 |
methodsWithTimestamp add: mthd |
|
170 |
] |
|
171 |
]. |
|
172 |
||
173 |
^self monticelloTimestamps_codeFor: methodsWithTimestamp |
|
174 |
||
175 |
" |
|
176 |
stx_goodies_mondrian_core monticelloTimestamps_code |
|
177 |
" |
|
178 |
||
179 |
"Created: / 09-11-2010 / 18:23:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
180 |
! ! |
|
181 |
||
429 | 182 |
!ProjectDefinition class methodsFor:'code generation'! |
395 | 183 |
|
184 |
monticelloTimestamps_codeFor: methods |
|
185 |
||
186 |
| code | |
|
187 |
code := String new writeStream. |
|
188 |
code nextPutAll:'monticelloTimestamps |
|
189 |
||
190 |
^#('. |
|
191 |
methods do:[:mthd| |
|
192 |
code |
|
193 |
tab; tab; |
|
194 |
nextPut:$(; |
|
195 |
nextPutAll: mthd mclass fullName; |
|
196 |
space; |
|
197 |
nextPutAll: mthd selector; |
|
198 |
space; |
|
199 |
nextPutAll: (mthd annotationAt: #mctimestamp:) timestamp storeString; |
|
200 |
nextPut:$); |
|
201 |
cr. |
|
202 |
]. |
|
203 |
code nextPutAll:' |
|
204 |
)'. |
|
205 |
||
206 |
^code contents |
|
207 |
||
208 |
" |
|
209 |
stx_goodies_mondrian_core mcTimestamps_code |
|
210 |
" |
|
211 |
||
212 |
"Created: / 09-11-2010 / 18:27:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
213 |
! ! |
|
214 |
||
429 | 215 |
!SequenceableCollection methodsFor:'*monticello-squeakCompatibility'! |
395 | 216 |
|
217 |
copyReplaceAll: oldSubstring with: newSubstring asTokens: ifTokens |
|
218 |
"Answer a copy of the receiver in which all occurrences of |
|
219 |
oldSubstring have been replaced by newSubstring. |
|
220 |
ifTokens (valid for Strings only) specifies that the characters |
|
221 |
surrounding the recplacement must not be alphanumeric. |
|
222 |
Bruce Simth, must be incremented by 1 and not |
|
223 |
newSubstring if ifTokens is true. See example below. " |
|
224 |
||
225 |
| aString startSearch currentIndex endIndex | |
|
226 |
(ifTokens and: [(self isString) not]) |
|
227 |
ifTrue: [(self isKindOf: Text) ifFalse: [ |
|
228 |
self error: 'Token replacement only valid for Strings']]. |
|
229 |
aString := self. |
|
230 |
startSearch := 1. |
|
231 |
[(currentIndex := aString indexOfSubCollection: oldSubstring startingAt: startSearch) |
|
232 |
> 0] |
|
233 |
whileTrue: |
|
234 |
[endIndex := currentIndex + oldSubstring size - 1. |
|
235 |
(ifTokens not |
|
236 |
or: [(currentIndex = 1 |
|
237 |
or: [(aString at: currentIndex-1) isAlphaNumeric not]) |
|
238 |
and: [endIndex = aString size |
|
239 |
or: [(aString at: endIndex+1) isAlphaNumeric not]]]) |
|
240 |
ifTrue: [aString := aString |
|
241 |
copyReplaceFrom: currentIndex |
|
242 |
to: endIndex |
|
243 |
with: newSubstring. |
|
244 |
startSearch := currentIndex + newSubstring size] |
|
245 |
ifFalse: [ |
|
246 |
ifTokens |
|
247 |
ifTrue: [startSearch := currentIndex + 1] |
|
248 |
ifFalse: [startSearch := currentIndex + newSubstring size]]]. |
|
249 |
^ aString |
|
250 |
||
251 |
"Test case: |
|
252 |
'test te string' copyReplaceAll: 'te' with: 'longone' asTokens: true " |
|
253 |
||
254 |
"Created: / 26-08-2009 / 12:40:34 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
255 |
! ! |
|
256 |
||
429 | 257 |
!Stream methodsFor:'*monticello'! |
136 | 258 |
|
259 |
isMessageStream |
|
260 |
^ false |
|
261 |
! ! |
|
262 |
||
429 | 263 |
!String methodsFor:'*monticello'! |
136 | 264 |
|
265 |
extractNumber |
|
266 |
^ ('0', self select: [:ea | ea isDigit]) asNumber |
|
267 |
! ! |
|
268 |
||
429 | 269 |
!String methodsFor:'*monticello-squeakCompatibility'! |
395 | 270 |
|
271 |
withSqueakLineEndings |
|
272 |
"Answer a copy of myself in which all sequences of <CR><LF> or <LF> have been changed to <CR>" |
|
273 |
| newText | |
|
274 |
(self includes: Character lf) ifFalse: [ ^self copy ]. |
|
275 |
newText := self copyReplaceAll: String crlf with: String cr. |
|
276 |
(newText asString includes: Character lf) ifFalse: [ ^newText ]. |
|
277 |
^newText copyReplaceAll: String lf with: String cr asTokens: false. |
|
278 |
||
279 |
"Created: / 26-08-2009 / 11:35:56 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
280 |
! ! |
|
281 |
||
429 | 282 |
!StringCollection methodsFor:'converting'! |
395 | 283 |
|
284 |
asStringWithNativeLineEndings |
|
285 |
||
286 |
^self asString |
|
287 |
||
288 |
"Created: / 12-09-2010 / 15:58:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
289 |
! ! |
|
290 |
||
429 | 291 |
!StringCollection methodsFor:'converting'! |
395 | 292 |
|
293 |
asStringWithSqueakLineEndings |
|
294 |
||
295 |
^ self |
|
296 |
asStringWith:Character return |
|
297 |
from:1 to:(self size) |
|
298 |
compressTabs:false |
|
299 |
final:nil |
|
300 |
||
301 |
"Created: / 12-09-2010 / 15:58:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
302 |
! ! |
|
303 |
||
429 | 304 |
!Symbol methodsFor:'*monticello-squeakCompatibility'! |
395 | 305 |
|
306 |
isDoIt |
|
307 |
^ (self == #DoIt) or:[ self == #DoItIn: ]. |
|
308 |
||
309 |
"Created: / 26-08-2009 / 11:46:44 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
310 |
! ! |
|
311 |
||
429 | 312 |
!Timestamp class methodsFor:'*monticello-instance creation'! |
395 | 313 |
|
314 |
fromMethodTimeStamp: aString |
|
315 |
| stream | |
|
316 |
stream := ReadStream on: aString. |
|
317 |
stream skipSeparators. |
|
318 |
stream skipTo: Character space. |
|
319 |
^self readFrom: stream. |
|
320 |
! ! |
|
321 |
||
429 | 322 |
!Tools::NewSystemBrowser methodsFor:'menu actions-monticello'! |
395 | 323 |
|
324 |
projectMenuMonticelloCommit |
|
325 |
||
326 |
| packageName package workingCopy | |
|
327 |
packageName := self theSingleSelectedProject. |
|
328 |
package := MCPackage named: packageName. |
|
329 |
workingCopy := package workingCopy. |
|
330 |
MCCommitDialog new |
|
331 |
workingCopy: workingCopy; |
|
332 |
open |
|
333 |
||
334 |
"Created: / 14-09-2010 / 22:54:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
335 |
! ! |
|
336 |
||
429 | 337 |
!Tools::NewSystemBrowser class methodsFor:'menu specs-monticello'! |
395 | 338 |
|
339 |
projectMonticelloMenu |
|
340 |
"This resource specification was automatically generated |
|
341 |
by the MenuEditor of ST/X." |
|
342 |
||
343 |
"Do not manually edit this!! If it is corrupted, |
|
344 |
the MenuEditor may not be able to read the specification." |
|
345 |
||
346 |
" |
|
347 |
MenuEditor new openOnClass:Tools::NewSystemBrowser andSelector:#projectMonticelloMenu |
|
348 |
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowser projectMonticelloMenu)) startUp |
|
349 |
" |
|
350 |
||
351 |
<resource: #menu> |
|
352 |
||
353 |
^ |
|
354 |
#(Menu |
|
355 |
( |
|
356 |
(MenuItem |
|
357 |
label: 'Commit' |
|
358 |
itemValue: projectMenuMonticelloCommit |
|
359 |
translateLabel: true |
|
360 |
) |
|
361 |
(MenuItem |
|
362 |
label: '-' |
|
363 |
) |
|
364 |
(MenuItem |
|
365 |
enabled: false |
|
366 |
label: 'Not yet finished...' |
|
367 |
translateLabel: true |
|
368 |
) |
|
369 |
) |
|
370 |
nil |
|
371 |
nil |
|
372 |
) |
|
373 |
! ! |
|
374 |
||
429 | 375 |
!UndefinedObject methodsFor:'* monticello'! |
150 | 376 |
|
377 |
typeOfClass |
|
378 |
"Necessary to support disjoint class hierarchies." |
|
379 |
||
380 |
^#normal |
|
381 |
! ! |
|
382 |
||
554 | 383 |
!UserPreferences methodsFor:'accessing-scm-monticello'! |
395 | 384 |
|
385 |
mcEnabled |
|
554 | 386 |
"/ needed for MCSettingsApp |
395 | 387 |
|
388 |
^self at: #mcEnabled ifAbsent: [true]. |
|
389 |
||
390 |
"Created: / 16-09-2010 / 09:44:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
391 |
"Modified: / 16-09-2010 / 14:50:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
554 | 392 |
"Modified (comment): / 15-01-2012 / 14:12:53 / cg" |
395 | 393 |
! ! |
394 |
||
554 | 395 |
!UserPreferences methodsFor:'accessing-scm-monticello'! |
395 | 396 |
|
397 |
mcEnabled: aBoolean |
|
554 | 398 |
"/ needed for MCSettingsApp |
395 | 399 |
|
400 |
self at: #mcEnabled put: aBoolean. |
|
401 |
||
402 |
"Created: / 16-09-2010 / 09:44:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
554 | 403 |
"Modified (comment): / 15-01-2012 / 14:12:57 / cg" |
395 | 404 |
! ! |
405 |
||
554 | 406 |
!UserPreferences methodsFor:'accessing-scm-monticello'! |
395 | 407 |
|
408 |
mcRepositories |
|
409 |
||
410 |
| repos | |
|
411 |
repos := self at: #mcRepositories ifAbsent:[#()]. |
|
412 |
^repos decodeAsLiteralArray |
|
413 |
||
414 |
" |
|
415 |
self mcRepositories: #() |
|
416 |
" |
|
417 |
||
418 |
"Created: / 16-09-2010 / 09:47:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
419 |
"Modified: / 17-09-2010 / 11:45:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
420 |
! ! |
|
421 |
||
554 | 422 |
!UserPreferences methodsFor:'accessing-scm-monticello'! |
395 | 423 |
|
424 |
mcRepositories: aCollection |
|
425 |
||
426 |
| repos | |
|
427 |
repos := aCollection literalArrayEncoding. |
|
428 |
self at: #mcRepositories put:repos. |
|
429 |
MCRepositoryGroup default flushRepositories. |
|
430 |
||
431 |
"Created: / 16-09-2010 / 09:53:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
432 |
"Modified: / 16-09-2010 / 13:56:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
433 |
! ! |
|
434 |
||
429 | 435 |
!VersionInfo methodsFor:'accessing'! |
395 | 436 |
|
437 |
timeStamp |
|
438 |
||
439 |
^Timestamp |
|
440 |
fromDate: (Date fromString: date) |
|
441 |
andTime: (Time fromString: time) |
|
442 |
||
443 |
"Created: / 09-09-2010 / 15:20:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
444 |
! ! |
|
445 |
||
429 | 446 |
!stx_goodies_monticello class methodsFor:'documentation'! |
182 | 447 |
|
448 |
extensionsVersion_CVS |
|
554 | 449 |
^ '$Header: /cvs/stx/stx/goodies/monticello/extensions.st,v 1.15 2012-01-15 14:28:19 cg Exp $' |
429 | 450 |
! ! |