When I've launched vc-annotate and then type a (vc-annotate-revision-previous-to-line), emacs will show me the revision before the one on the current line.
From the docs:
a
Annotate the revision before the one indicated by the current line. This is useful to see the state the file was in before the change on the current line was made.
After doing this, I now want to go back to the previous revision of the file that I was viewing before I pressed a. How can I do this?
If emacs vc-annotate doesn't support it natively, are there any packages that can accomplish this? Or how would I go about coding this on my own? I imagine I could just use some sort of stack to store all the revisions visited in the current vc-annotate session, and then pop one off using an undo command.
I am using git, so would even be interested in an answer that applies only to git.
vc-annotate-warp-revision, and create a command that would pop the value off the stack and go to the top of what remains. Something like that.