How can I view all historical changes to a file in SVN

后端 未结 9 1991
闹比i
闹比i 2020-12-02 04:08

I know that I can svn diff -r a:b repo to view the changes between the two specified revisions. What I\'d like is a diff for every revision that changed the

9条回答
  •  心在旅途
    2020-12-02 04:25

    Start with

    svn log -q file | grep '^r' | cut -f1 -d' '
    

    That will get you a list of revisions where the file changed, which you can then use to script repeated calls to svn diff.

提交回复
热议问题