Correction:

upon pressing (say, Older) should become something like:

upon selecting a ‘from’ should become something like:

From: to...@acm.org 
Sent: Sunday, September 21, 2014 3:45 PM
To: Fossil SCM user's discussion 
Subject: Re: [fossil-users] UI diff issue

Oh, I see.  Well, one possible solution I can think without knowing if it would 
be easy (or even possible) to implement:

When someone selects a ‘from’ box, the script should update the links for 
older/newer options to include the selected ‘from’ parameter. 
[Perhaps the URL (for Older/Newer) can be stored in a variable, and then that 
variable updated according to whether a ‘from’ is currently 
selected/de-selected]:

http://localhost:8080/timeline?n=20&b=2014-09-19+08:21:21

upon pressing (say, Older) should become something like:

http://localhost:8080/timeline?n=20&b=2014-09-19+08:21:21&from=whatever-hash-value-from-has

and, if the ‘from’ parameter is present on entering the page, then a click on a 
box should make that the ‘to’ selection, rather than a new ‘from’.

Would something like this work?

From: Stephan Beal 
Sent: Sunday, September 21, 2014 2:59 PM
To: Fossil SCM user's discussion 
Subject: Re: [fossil-users] UI diff issue

On Sun, Sep 21, 2014 at 1:53 PM, <to...@acm.org> wrote:

  newer/older) to mark the ‘to’, then as soon as the page changes, the ‘from’ 
mark is forgotten.  So, it seems impossible (via UI) to compare between 
versions that do not appear on the same screen at the same time.  Or, am I 
doing it wrong?

The state for the selection is stored in JavaScript, and the JS environment 
gets cleared when loading a new page. At the moment we don't have a mechanism 
for selecting (with the mouse) "far away diffs," but you can achieve it by 
copying the version numbers and creating the URL manually. Alternately, you can 
use the "200 entries" menu item to first expand the list of versions, and the 
"checkins only" entry to further weed out non-commit entries (which cannot be 
diffed against).

As far as i'm aware, nobody has pointed this limitation out before, which 
implies that doing "far away diffs" this way is a bit of a corner case. That 
said, if you can suggest a concrete solution for how to implement it (given our 
limitations such as, e.g., no jQuery), we're all ears.


-- 

----- stephan beal
http://wanderinghorse.net/home/stephan/ 
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those 
who insist on a perfect world, freedom will have to do." -- Bigby Wolf


--------------------------------------------------------------------------------
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users



--------------------------------------------------------------------------------
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to