hammer history ls

Jost Tobias Springenberg jspringe at uos.de
Mon Feb 16 15:46:26 PST 2009


Hi again,
after some hours of sleep I took a look into the hammer sources and
pushed my code in there.
If anybody else cares about this option, the patch is attached to this mail.
You can then basically use:

> hammer history-count fname 

to only display a count (I did not care about any formatting here :) as I use
it from a script only anyway). 
And more importantly it is possible to specify a start-tid and end-tid option as the
last arguments that are passed to history[-count]!

> hammer history[-count] <fname1> ... <fnameN> start-tid=0x........ end-tid=0x........

Btw when I took a look at the code I realized that there is an offset option that
is not documented anywhere in the man pages .....

Regards,
	TobiasAttachment:
history-command-change.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 5302 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20090217/56dc1e31/attachment-0019.bin>


More information about the Users mailing list