Skip to content

File Browser > Changes - FileList DNU #readStream #3302

Closed
@bencoman

Description

@bencoman
  1. Tools > File Browser
  2. Select an ST file
  3. Click Changes

==> Instance of FileList did not understand #readStream

Fix is to change that to #readOnlyStream as hinted at... https://pharo.fogbugz.com/f/cases/19859

ExternalChangesBrowser>>serviceBrowseCSOrSTFile
	"Answer a service for opening a changelist browser on a file"
	^ (SimpleServiceEntry 
		provider: self 
		label: 'Changelist browser'
		selector: #openOnStream:
		description: 'Open a changelist tool on this file'
		buttonLabel: 'Changes')
-		argumentGetter: [ :stream | stream readStream ]
+		argumentGetter: [ :stream | stream readStreamOnly ]

And same for ExternalBrowser>>serviceBrowseCode

(P.S. Its strange that case indicates it was integrated but it seems to be missing.)

Can this also be backported for the next Pharo 7 minor release. It would be pretty jarring for a newcomer browsing around features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions