tests/test-tag
author Bryan O'Sullivan <bos@serpentine.com>
Fri, 23 Sep 2005 10:30:41 -0700
changeset 1330 0fcde73dc3ca
parent 1308 2073e5a71008
child 1561 9c6d0abdb94e
permissions -rwxr-xr-x
Give ssh a better chance of working on Windows. Switch the type of quotes used for the remote command. Open the pipe in binary mode.

#!/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"