Mercurial > hg
view tests/test-symlink-addremove @ 10045:d1f9640e9a67
color: Do not pass --color, --no-color parameters to wrapped function
Passing the --color and --no-color parameter to the wrapped function
can cause a invalid argument exception if the wrapped function doesn't
accepts a **opts dict.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Fri, 11 Dec 2009 11:04:31 +0100 |
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