Showing renames in hg log?

Posted by Ryan Thompson on Stack Overflow See other posts from Stack Overflow or by Ryan Thompson
Published on 2010-04-20T23:56:56Z Indexed on 2010/04/21 0:03 UTC
Read the original article Hit count: 237

Filed under:
|
|

I know that Mercurial can track renames of files, but how do I get it to show me renames instead of adds/removes when I do hg log? For instance, instead of:

A bin/extract-csv-column.pl
A bin/find-mirna-binding.pl
A bin/xls2csv-separate-sheets.pl
A lib/Text/CSV/Euclid.pm
R src/extract-csv-column.pl
R src/find-mirna-binding.pl
R src/modules/Text/CSV/Euclid.pm
R src/xls2csv-separate-sheets.pl

I want some indication that four files have been moved.

I think I read somewhere that the output is like this to preserve backward-compatibility with something-or-other, but I'm not worried about that.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about rename