##// END OF EJS Templates
convert: add bzr source
convert: add bzr source

File last commit:

r6449:78a17b77 default
r7053:209ef5f3 default
Show More
test-churn
33 lines | 524 B | text/plain | TextLexer
Patrick Mezard
Make churn an official extension
r6348 #!/bin/sh
echo "[extensions]" >> $HGRCPATH
echo "churn=" >> $HGRCPATH
Bryan O'Sullivan
test-churn: force COLUMNS to be set
r6449 COLUMNS=80; export COLUMNS
Patrick Mezard
Make churn an official extension
r6348 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