Mercurial > hg
view tests/test-mq-qclone-http.out @ 9639:5384a22ab698
diffstat: print 0 instead of nothing for 0 adds or removes
This is in line with how the stock diffstat behaves when processing a
single diff with no line modifications (like a binary diff).
author | Brodie Rao <me+hg@dackz.net> |
---|---|
date | Sun, 25 Oct 2009 02:35:35 +0200 |
parents | a3d73b3e1f8a |
children | 400ffd5f2f14 |
line wrap: on
line source
adding a adding b [mq]: b.patch a b.patch % test with recursive collection 200 Script output follows /a/ /a/.hg/patches/ requesting all changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 3 changes to 3 files updating to branch default 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved a applying b.patch now at: b.patch imported patch b.patch a % test with normal collection 200 Script output follows /a/ /a/.hg/patches/ requesting all changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 3 changes to 3 files updating to branch default 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved a applying b.patch now at: b.patch imported patch b.patch a % test with old-style collection 200 Script output follows /a/ /a/.hg/patches/ requesting all changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 3 changes to 3 files updating to branch default 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved a applying b.patch now at: b.patch imported patch b.patch a