Mercurial Repository Searching/Indexing -
does know of solution search mercurial repositories? (we using hgweb
host our repositories.) able search past revisions of source code. e.g. find out when bug may have been introduced.
fisheye looks fit bill nicely company unwilling pay it. there open source alternatives or solution allow search source history in hg?
an ideal solution allow to:
- search comments
- search revisions of source code
- search multiple repositories
thanks!
as long willing have local clone of code searched, mercurial , tortoisehg have strong search options.
mercurial alone
hg grep
allows search code patterns. searches revisions of code, not working copy.
hg revsets
provide functional language limit output of commands hg log
interesting sets. example, may limit output based on revision ranges, keywords, , many other options.
hg filesets
similar revsets, operates on file selections instead.
finally, hg bisect
can find changeset introduced bug, assuming have scriptable test it.
tortoisehg
tortoisehg bundles of above commands pretty gui interfaces. in particular, interested in search interface provides nice wrapper hg grep
.
Comments
Post a Comment