Mercurial > hg
view tests/test-issue1089 @ 7547:4949729ee9ee
python implementation of diffstat
Implemented as two functions: diffstat, which yields lines of text,
formatted as a usual diffstat output, and diffstatdata, which is called
inside diffstat to do real performing and yield file names with
appropriate data (numbers of added and removed lines).
author | Alexander Solovyov <piranha@piranha.org.ua> |
---|---|
date | Thu, 25 Dec 2008 10:48:24 +0200 |
parents | 2268edff1bec |
children |
line wrap: on
line source
#!/bin/sh hg init a cd a mkdir a echo a > a/b hg ci -Am m hg rm a hg ci -m m a mkdir a b echo a > a/b hg ci -Am m hg rm a cd b # relative delete hg ci -m m ../a