On 4/23/2014 1:19 PM, Richard Hipp wrote:
QUESTION:  What do I call the hyperlink that shows "annotate/blame"
only forwards in time instead of backwards in time.

I suggest reverse annotate/blame instead of inverse.  The phrase
"reversing time" makes more sense than "inverting time".

I don't see a need for catchy single-word names.  Annotate and blame are
not fully self-explanatory, by which I mean a dictionary won't tell you
what they mean in the context of SCM.  So their meanings have been
invented and learned.  Let's leverage that rather than inventing new
words or new meanings for existing words.  I'm certainly willing to move
on this point if someone has a better idea, but it's what I'm thinking
now.

Let's also be sure we have our definitions straight:

Current annotate/blame means identifying the origin of each line.
Reverse annotate/blame means identifying the next edit to each line,
where edit means change or removal.

So, what would the output look like?  Let's work through this:

Version 1:
a
b
c

Version 2:
a
b

Version 3:
aa
b
d

Current annotate/blame on version 1:
1 a
1 b
1 c

Current annotate/blame on version 2:
1 a
1 b

Current annotate/blame on version 3:
3 aa
1 b
3 d

Reverse annotate/blame on version 1:
3 a
  b
2 c

Reverse annotate/blame on version 2:
3 a
  b

Reverse annotate/blame on version 3:
  aa
  b
  d

By the way, do you have any interest in visually distinguishing between
removal and change?  For instance, reverse annotate/blame on version 1
could show that version 3 changes a and version 2 removes c, rather than
merely that version 3 affects a and version 2 affects c.

If yes, then this same feature could be added to normal annotate/blame,
indicating whether each line was added versus changed.

--
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
_______________________________________________
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