How do I search all revisions of a file in a SubVersion repository?

前端 未结 7 2020
深忆病人
深忆病人 2020-12-08 19:32

I\'d like to grep all revisions of a file for a string. e.g. to find when a function was added or removed.

Is there a \"simple\" way to do this? (i.e.

7条回答
  •  星月不相逢
    2020-12-08 20:28

    With a Subversion 1.6 server and its mod_dav_svn you can specify the revision number via a GET parameter:

    http://host/repos/path?r=20
    

    So you can easily wget your files in all revisions and then diff them.

    Source: SVN 1.6 changelog

提交回复
热议问题