Mercurial > hg
view tests/test-churn @ 7014:46456a51e247
i18n: use gettext instead of _
Both gettext and _ trigger a translation at runtime, but _ can only be
used with a string argument since it also triggers string extraction.
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Tue, 09 Sep 2008 21:32:39 +0200 |
parents | 78a17b77c5e7 |
children | 2627ef59195d |
line wrap: on
line source
#!/bin/sh echo "[extensions]" >> $HGRCPATH echo "churn=" >> $HGRCPATH COLUMNS=80; export COLUMNS 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