The Trunk: Monticello-cmm.556.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Monticello-cmm.556.mcz

commits-2
Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.556.mcz

==================== Summary ====================

Name: Monticello-cmm.556
Author: cmm
Time: 14 August 2013, 1:21:34.244 pm
UUID: fe612c7e-b4ab-4539-bd24-47e67d5270be
Ancestors: Monticello-cmm.555

- Renamed #stubOldPackageInfos to #stubAllAncestry.

=============== Diff against Monticello-cmm.555 ===============

Item was added:
+ ----- Method: MCWorkingCopy class>>stubAllAncestry (in category 'cleanup') -----
+ stubAllAncestry
+ "Replace VersionInfo instances which are more than 10 versions behind with a MCInfoProxy which will dynamically re-retrieve them from the current repository if necessary."
+ MCWorkingCopy allManagers do: [ : each | each stubAncestry ]!

Item was removed:
- ----- Method: MCWorkingCopy class>>stubOldPackageInfos (in category 'cleanup') -----
- stubOldPackageInfos
- "Replace VersionInfo instances which are more than 10 versions behind with a MCInfoProxy which will dynamically re-retrieve them from the current repository if necessary."
- MCWorkingCopy allManagers do: [ : each | each stubAncestry ]!

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>flushAllCaches (in category 'actions') -----
  flushAllCaches
  | beforeBytes afterBytes beforeVersions afterVersions |
  Cursor wait showWhile: [
  beforeBytes := Smalltalk garbageCollect.
  beforeVersions := MCVersion allSubInstances size.
  MCFileBasedRepository flushAllCaches.
+ MCWorkingCopy stubAllAncestry.
- MCWorkingCopy stubOldPackageInfos.
  afterBytes := Smalltalk garbageCollect.
  afterVersions := MCVersion allSubInstances size.
  ].
  ^self inform: (beforeVersions - afterVersions) asString, ' versions flushed', String cr,
    (afterBytes - beforeBytes) asStringWithCommas, ' bytes reclaimed'!