Search code examples
mercurialchangeset

List SIZE of mercurial changesets?


Looking to quantify how much change happened in each changeset. Any quick way to list maybe kb diff between two revisions?


Solution

  • hg log --stat is the command you're after. See this example:

    $ hg log --stat
    
    changeset:   12431:56e146c7beef
    user:        flast
    date:        Wed Jun 08 16:12:54 2011 +1000
    summary:     Fix the frobulate to frob the knob correctly on tuesdays.
    
     path/to/src/frob/interface.py       |  29 ++++++++++++++++++++---------
     path/to/tests/systest_frob.py       |  14 ++++++++++++++
     2 files changed, 34 insertions(+), 9 deletions(-)