diffstat: made test case work with POSIX sh and printf
* arithmetic expression ((...)), without $, is bashism.
* printf '\xXX' seems non-standard. '\0' is okay.
http://www.opengroup.org/onlinepubs/
009695399/utilities/printf.html
tested with bash 4.0 and dash 0.5.5.1
# -- setting up base repo
adding a
# -- cloning base repo
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
# -- setting up cset to push
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding a
created new head
# -- pushing
pushing to ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 0 changes to 0 files (+1 heads)