Mercurial > hg
view tests/test-diffdir @ 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 | f80cf8b7bbd9 |
children |
line wrap: on
line source
#!/bin/sh hg init touch a hg add a hg ci -m "a" -d "1000000 0" echo 123 > b hg add b hg diff --nodates hg diff --nodates -r tip echo foo > a hg diff --nodates hg diff -r "" hg diff -r tip -r "" true