search a text in a svn repository across all releases

痞子三分冷 提交于 2019-12-24 13:26:00

问题


I need to search a text in a SVN repository, inside all revisions. I am trying this software, which indexes all repositories and then you can search:

http://www.supose.org/projects/supose/wiki

#create the index
./bin/supose  sc -U "svn://..." --username ... -p ... --fromrev 0 --create

#search
./bin/supose  se -Q "+contents:class"   

if i understood correctly, this should search across all files for the text "class". this should return a lot of matches, as there a lot of java files. however, it only returns maches in some .xml; it is ignoring java files. why?

and what is the "search --fields" option? what is a field?

来源:https://stackoverflow.com/questions/8855228/search-a-text-in-a-svn-repository-across-all-releases

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!