view tests/test-tag @ 638:35f7adfefa69

Add a scheme for handling remote locking This adds an object that remembers to unlock the remote repo on destruction and lock/unlock functions for the ssh protocol. The remote repository should also unlock itself when the connection goes down.
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Jul 2005 22:23:27 -0800
parents af4848f83e68
children 7e4843b7efd2
line wrap: on
line source

#!/bin/sh -x

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

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