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 line of code. Is there a command for that?
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.