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 "!
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@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 "!
On Wednesday 26 November 2003 4:57 pm, Scott Wallace wrote:
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.
You know, that's what it did originally (since that's what's easier). Then for some reason I added the logic that's in there now. Perhaps my brain was stuck that day.
I'll take it out. Thanks for pointing out this "non-feature".
Hi ned
I would like to approve it but I will wait until you take into account Scott remark.
Stef
Go back to latex.
On Vendredi, nov 28, 2003, at 17:35 Europe/Zurich, Ned Konz wrote:
On Wednesday 26 November 2003 4:57 pm, Scott Wallace wrote:
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.
You know, that's what it did originally (since that's what's easier). Then for some reason I added the logic that's in there now. Perhaps my brain was stuck that day.
I'll take it out. Thanks for pointing out this "non-feature".
-- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE
Ned's more recent v3 (which does not force ordering by date) is approved.
On Tuesday, November 25, 2003, at 01:42 PM, ned@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 "!
<CompareArbitraryVersions-nk.cs.gz>
squeak-dev@lists.squeakfoundation.org