view tests/test-issue1175 @ 9876:6e8a16dd3e30

alias: improve help text for command aliases Displays the line "alias for: hg ..." with the original command including options, followed by the command's original help text.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Wed, 11 Nov 2009 17:48:00 +0100
parents 0d714a48ab53
children
line wrap: on
line source

#!/bin/sh
rm -rf a
hg init a
cd a
touch a
hg ci -Am0
hg mv a a1
hg ci -m1
hg co 0
hg mv a a2
hg up
hg ci -m2

touch a
hg ci -Am3
hg mv a b
hg ci -Am4 a
hg ci --debug --traceback -Am5 b
hg verify
hg export --git tip