Mercurial > hg
view tests/test-diffstat @ 9649:20b91f91f9ca
minor documentation improvements
author | timeless@mozdev.org |
---|---|
date | Sun, 25 Oct 2009 14:45:38 +0200 |
parents | 7d17794f08a9 |
children | bd3af545c7c6 |
line wrap: on
line source
#!/bin/sh hg init repo cd repo i=0; while (( $i < 213 )); do echo a >> a; i=$(($i + 1)); done hg add a echo '% wide diffstat' hg diff --stat echo '% diffstat width' COLUMNS=24 hg diff --config ui.interactive=true --stat hg ci -m adda cat >> a <<EOF a a a EOF echo '% narrow diffstat' hg diff --stat hg ci -m appenda printf '%b' '\x00' > b hg add b echo '% binary diffstat' hg diff --stat echo '% binary git diffstat' hg diff --stat --git