Mercurial > hg
view tests/test-rebuildstate @ 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 | ffeb926d57ce |
children |
line wrap: on
line source
#!/bin/sh # basic test for hg debugrebuildstate hg init repo cd repo touch foo bar hg ci -Am 'add foo bar' touch baz hg add baz hg rm bar hg debugrebuildstate echo '% state dump after' hg debugstate --nodates | sort echo '% status' hg st -A