Mercurial > hg
view tests/test-symlink-addremove @ 7240:dac14cc9711e
test 261a9f47b44b: grep w/ match in last line w/o newline
Last character in match output omitted to avoid infinite loop.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Fri, 24 Oct 2008 08:16:01 +0200 |
parents | 7f0dd352fb4d |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" symlink || exit 80 hg init a cd a echo '% directory moved and symlinked' mkdir foo touch foo/a hg ci -Ama mv foo bar ln -s bar foo echo '% now addremove should remove old files' hg addremove