Mercurial > hg
view tests/test-diffstat @ 9643:013cc052a926
bookmarks: use API to determine if repo is local
author | Alexander Solovyov <piranha@piranha.org.ua> |
---|---|
date | Sun, 25 Oct 2009 12:05:07 +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