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

前端 未结 7 2021
深忆病人
深忆病人 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:13

    As far as I know that's not easily possible. I'd write a small script that retrieves each changeset for the file in question and then grep through the diff for the string. Then it's as simple as printing the current revision number :)

提交回复
热议问题