Mercurial > hg
view tests/test-strict @ 7474:b2cbced7bb50
use inst.args instead of using __getitem__ directly
DeprecationWarning: __getitem__ not supported for exception classes in 3.x;
use args attribute
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 06 Dec 2008 15:57:11 +0100 |
parents | 4e815ee377fd |
children | 6c82beaaa11a |
line wrap: on
line source
#!/bin/sh hg init echo a > a hg ci -d '0 0' -Ama hg an a echo "[ui]" >> $HGRCPATH echo "strict=True" >> $HGRCPATH hg an a hg annotate a echo % should succeed - up is an alias, not an abbreviation hg up