History of changes to a particular line of code in Subversion

前端 未结 11 2069
轮回少年
轮回少年 2020-12-02 22:05

Is it possible to see the history of changes to a particular line of code in a Subversion repository?

I\'d like, for instance, to be able to see when a particular st

11条回答
  •  囚心锁ツ
    2020-12-02 22:35

    I don't know a method for tracking statements through time in Subversion.

    It is simple however to see when any particular line in a file was last changed using svn blame. Check the SVNBook: svn blame reference:

    Synopsis

    svn blame TARGET[@REV]...
    

    Description

    Show author and revision information in-line for the specified files or URLs. Each line of text is annotated at the beginning with the author (username) and the revision number for the last change to that line.

提交回复
热议问题