view tests/test-tag @ 1073:7b35a980b982

[PATCH] raise exceptions with Exception subclasses Fixed the patch. Using Exception subclasses. (tweaked by mpm)
author Bart Trojanowski <bart@jukie.net>
date Fri, 26 Aug 2005 19:08:25 -0700
parents 0902ffece4b4
children 2073e5a71008
line wrap: on
line source

#!/bin/sh

hg init
echo a > a
hg add a
hg commit -m "test" -d "0 0"
hg history
hg tag -d "0 0" "bleah" 
hg history

echo foo >> .hgtags
hg tag -d "0 0" "bleah2" || echo "failed"