tests/test-backwards-remove
author Martin Geisler <mg@lazybytes.net>
Thu, 09 Apr 2009 14:43:02 +0200
changeset 8039 18081ce1e630
parent 1933 7544700fd931
permissions -rwxr-xr-x
commands: automatically word-wrap cmdline options Some of the descriptions of command line options were getting quite long, and when translated they are likely to grow even longer. This word-wraps them at 70 characters, just like the help texts. We could have opted to wrap them at the terminal width instead, but I think it looks better to have them be consistent with the help texts.

#!/bin/sh
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
ls
echo This is file b1 > b
hg add b
hg commit -m "commit #1" -d "1000000 0"
hg co 0
# B should disappear
ls