tests/test-diffstat.t
branchstable
changeset 16098 c6c9b83a1e8a
parent 15363 628a4a9e411d
child 16913 f2719b387380
equal deleted inserted replaced
16091:f6e9c731dd3f 16098:c6c9b83a1e8a
    33    a |  3 +++
    33    a |  3 +++
    34    1 files changed, 3 insertions(+), 0 deletions(-)
    34    1 files changed, 3 insertions(+), 0 deletions(-)
    35 
    35 
    36   $ hg ci -m appenda
    36   $ hg ci -m appenda
    37 
    37 
    38   $ printf '\0' > c
    38   >>> open("c", "wb").write("\0")
    39   $ touch d
    39   $ touch d
    40   $ hg add c d
    40   $ hg add c d
    41 
    41 
    42 Binary diffstat:
    42 Binary diffstat:
    43 
    43 
    52    d |    0 
    52    d |    0 
    53    2 files changed, 0 insertions(+), 0 deletions(-)
    53    2 files changed, 0 insertions(+), 0 deletions(-)
    54 
    54 
    55   $ hg ci -m createb
    55   $ hg ci -m createb
    56 
    56 
    57   $ printf '\0' > "file with spaces"
    57   >>> open("file with spaces", "wb").write("\0")
    58   $ hg add "file with spaces"
    58   $ hg add "file with spaces"
    59 
    59 
    60 Filename with spaces diffstat:
    60 Filename with spaces diffstat:
    61 
    61 
    62   $ hg diff --stat
    62   $ hg diff --stat