tests/test-churn
author Patrick Mezard <pmezard@gmail.com>
Mon, 14 Apr 2008 22:31:34 +0200
changeset 6543 a6e2e60b34d0
parent 6348 f8feaa665319
child 6449 78a17b77c5e7
permissions -rwxr-xr-x
convert: handle past or foreign partial svn copies Subversion allows revisions to be composed of subparts coming from revisions before the parent or from other part of the repository. There is no simple representation for these now, keep the changes but do not track their origins.

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "churn=" >> $HGRCPATH

echo % create test repository
hg init repo
cd repo
echo a > a
hg ci -Am adda -u user1
echo b >> a
echo b > b
hg ci -Am addb -u user2
echo c >> a
echo c >> b
echo c > c
hg ci -Am addc -u user3

echo % churn all
hg churn
echo % churn up to rev 1
hg churn -r :1
echo % churn with aliases
cat > ../aliases <<EOF
user1 alias1
user3 alias3
EOF
hg churn --aliases ../aliases
echo % churn with column specifier
COLUMNS=40 hg churn