[squeak-dev] The Trunk: Monticello-dtl.417.mcz

Bert Freudenberg bert at freudenbergs.de
Thu Jan 13 13:06:35 UTC 2011



On 13.01.2011, at 11:40, Tobias Pape <Das.Linux at gmx.de> wrote:

> Am 2011-01-13 um 10:54 schrieb Bert Freudenberg:
>> 
>> On 12.01.2011, at 15:48, Tobias Pape wrote:
>> 
>>> Am 2011-01-12 um 15:15 schrieb Levente Uzonyi:
>>>> On Wed, 12 Jan 2011, Tobias Pape wrote:
>>>>>>> […]
>>>>>>> When a package is unloaded, any subpackages will also be removed, so unregister the MCWorkingCopies for these subpackages after the removal.
>>>>>> 
>>>>>> So if I have a package named PackageX and I want to split it to PackageX-Core and PackageX-Tests, then after moving all code to the new packages and removing the empty PackageX all my code will be gone?
>>>>> 
>>>>> Is there a currently working solution, anyways?
>>>> 
>>>> What I described here used to work for splitting packages. I'm pretty sure we will split a few packages soon in the Trunk too, for example Tests and maybe Morphic.
>>>> 
>>> 
>>> You're luck then.
>>> the procedure messed up one of my packages completely.
>>> 
>>> So Long,    
>>>    -Tobias
>> 
>> ?
>> 
>> You just need to understand the difference between "unloading a package" and "deleting a working copy". The former touches code, the latter does not.
> 
> Curiously, the latter did _delete_ some of my code.
> however, this was about 6 month earlier, so never mind.
> 
> So Long,    
>    -Tobias

No way. It just unregisters the working copy meta data.

- Bert -


More information about the Squeak-dev mailing list