another undo patch: a feature request and implementation, should it be of interest

Joel K. Pettersson joelkpettersson at
Sun Mar 29 07:49:06 PDT 2009

On another note, a second feature addition for the index parameter
occurred to me, which became a very simple matter with the new code -
making a negative index do something, namely go forward from the
oldest revision.

While not as significant from a usability point as the previous
addition, perhaps the best point of it is a quick way of accessing the
oldest, for example diffing it with the newest, as in:

undo -dt-0 filename

This patch, unlike that of the previous addition, has documentation
updates, so should be a quick matter if of interest.

- Joel K. Pettersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00004.bin
Type: application/octet-stream
Size: 3210 bytes
Desc: "Description: Binary data"
URL: <>

More information about the Submit mailing list