Searching subversion history (full text)

前端 未结 16 1370
慢半拍i
慢半拍i 2020-11-29 16:29

Is there a way to perform a full text search of a subversion repository, including all the history?

For example, I\'ve written a feature that I used somewhere, but t

16条回答
  •  猫巷女王i
    2020-11-29 17:13

    svn log -v [repository] > somefile.log
    

    for diff you can use the --diff option

    svn log -v --diff [repository] > somefile.log
    

    then use vim or nano or whatever you like using, and do a search for what you're looking for. You'll find it pretty quickly.

    It's not a fancy script or anything automated. But it works.

提交回复
热议问题