[ANN] History-search/grep plugin

Michael Ellerman michael at ellerman.id.au
Thu Feb 9 23:36:40 GMT 2006


Hi guys,

With a few pointers from Martin I hacked up a history-search plugin
yesterday. It basically does a grep through history and shows you
which revisions match your pattern.

Actually it shows you the revision that introduced the pattern you're
looking for, it might also be nice to show which revision(s) deleted
the text, but I couldn't decide how that should work in the UI.

It's _insanely_ fast, thanks to the weave, we can search bzr.dev for a
non-matching pattern in about 3 seconds. With lots of matches you end
spending all your time converting revids to revnos, so --show-ids
makes it a lot faster.

Nice things to have: limiting history with -r, only searching certain
files, nicer output.

I think to make this really usable it needs a GUI, there's too much
information otherwise.

Check it out:

http://michael.ellerman.id.au/files/bzr/hgrep

cheers




More information about the bazaar mailing list