History of changes to a particular line of code in Subversion

前端 未结 11 2062
轮回少年
轮回少年 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:32

    If you use Emacs, the built-in package vc can do this.

    1. Navigate to the file in question.
    2. Run the command vc-annotate with either M-x vc-annotate or C-xvg.
    3. Each line will show up with its revision, like a normal svn blame.
    4. Pressing a (vc-annotate-revision-previous-to-line) will navigate to the revision before the revision at the line you're on.

提交回复
热议问题