[ENH] CompareArbitraryVersions-nk

Scott Wallace scott.wallace at squeakland.org
Thu Nov 27 00:57:40 UTC 2003


Hi, Ned,

Very nice and useful addition!

A thought...

Sometimes one wants diffs expressed in a forward direction, sometimes 
in a backwards one.  And sometimes one even benefits from seeing 
diffs expressed first one way and then the opposite way.

Additionally, the comparative time-stamps of two versions being 
contrasted might not truly indicate the "forward direction" of change 
between them -- not least because either or both of the methods might 
lack timestamps altogether.

Given the above, I wonder whether it might be preferable for this 
"compare to..." feature *always* to express diffs forward from the 
currently-selected version to the "other" version that the user 
chooses from the pop-up, regardless of dates.  This would give the 
user explicit control over the direction of the diffs.

Cheers,

   -- Scott

At 10:42 AM -0800 11/25/03, ned at squeakland.org wrote:
>from preamble:
>
>"Change Set:		CompareArbitraryVersions-nk
>Date:			25 November 2003
>Author:			Ned Konz
>Squeak Version:		3.7a (uses #translated)
>
>Adds a 'compare to selected version' feature to the VersionsBrowser,
>letting you compare any method version with any other version.
>
>Compares the changeset timestamps to determine which is the 'from'
>version.
>
>Also adds a couple of utility methods:
>	ChangeRecord>>timeStamp		returns a TimeStamp
>	(MenuMorph,CustomMenu)>>addTranslatedList:		sends 
>#translate to its
>strings
>"!



More information about the Squeak-dev mailing list