Finding the author of a line of code in Mercurial

前端 未结 6 1680
时光说笑
时光说笑 2021-01-30 03:10

How do I find out who is responsible for a specific line of code? I know the linenumber and the filename but I would like Mercurial to tell me the author(s) of that specific lin

6条回答
  •  无人共我
    2021-01-30 03:24

    On the command-line, you'd want to use hg annotate -u (-u can be combined with -n to get the local revision number, which might come in useful). Check hg help anno for more options.

提交回复
热议问题