view tests/test-tag @ 1504:0fcdd126642d

fix file opening for some commands on Windows Using file as opener in debug commands won't work on Windows, as the index and data files needs to be opened in binary mode.
author Christian Boos <cboos@neuf.fr>
date Thu, 03 Nov 2005 14:24:07 -0800
parents 2073e5a71008
children 9c6d0abdb94e
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"