Mercurial > hg
view tests/test-hgcia @ 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 | b80b944836ec |
children |
line wrap: on
line source
#!/bin/sh cat >> $HGRCPATH <<EOF [extensions] hgcia= [hooks] changegroup.cia = python:hgext.hgcia.hook [cia] user = testuser project = testproject test = True EOF hg init src hg init cia cd src echo foo > foo hg ci -Amfoo hg push ../cia