Mercurial > hg
view tests/test-issue842 @ 11087:dc2f37864348
keyword: simplify record switch in kwtemplater.overwrite
1) use kwtemplater.record attribute for clarity
2) drop optional context argument; consider the speed loss by
duplicating the dictionary lookup repo['.'] as negligible
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Sat, 01 May 2010 23:59:39 +0200 |
parents | cb93eee1fbcd |
children |
line wrap: on
line source
#!/bin/sh hg init test cd test echo foo > a hg ci -Ama hg up -r0000 echo bar > a echo % should issue warning hg ci -Amb hg up -r0000 echo stuffy > a echo % should not issue warning hg ci -q -Amc hg up -r0000 echo crap > a hg branch testing echo % should not issue warning hg ci -q -Amd