[squeak-dev]
[BUG?]SMSimpleInstaller>>fileIntoChangeSetNamed:fromStream:
Trygve Reenskaug
trygver at ifi.uio.no
Fri Jan 30 14:36:25 UTC 2015
Sorry. My knowledge of Monticello isn't sufficient to post a single
method into the inbox. =-O
On 12.01.2015 11:39, Tobias Pape wrote:
> Hi
>
> On 12.01.2015, at 11:09, Trygve Reenskaug <trygver at ifi.uio.no> wrote:
>
>> SMSimpleInstaller>>fileIntoChangeSetNamed: aString fromStream: stream
>> "We let the user confirm filing into an existing ChangeSet
>> or specify another ChangeSet name if
>> the name derived from the filename already exists."
>> | changeSet newName oldChanges global |
>> newName := aString.
>> changeSet := SMInstaller changeSetNamed: newName.
>> changeSet ifNotNil: [
>> newName := self silent ifNil: [UIManager default
>> request: 'ChangeSet already present, just confirm to overwrite or enter a new name:'
>> initialAnswer: newName]
>> ifNotNil: [newName].
>> ++++++
>>
>> AFAICS, 'self silent' cannot return nil, it always returns a boolan.
> you're right :)
> Care to put a fixed version into the inbox?
> http://source.squeak.org/inbox.html
>
> Best
> -Tobia
>
>
Sorry. I can't find a way to post input (a method source) directly into
the inbox and my knowledge of Monticello etc. isn't sufficient to let
me post a single method into the repository and my knowledge of
SMSimpleInstaller isn't sufficient for me to write a meaningful test.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150130/1db03827/attachment.htm
More information about the Squeak-dev
mailing list
|