tests/test-commit-copy
author Matt Mackall <mpm@selenic.com>
Fri, 23 Mar 2007 00:12:28 -0500
changeset 4273 8185a1ca8628
parent 3853 c0b449154a90
permissions -rwxr-xr-x
tags: require -f to replace an existing tag based on a patch from Johan Herland <johherla@online.no>

#!/bin/sh

hg init dir
cd dir
echo bleh > bar
hg add bar
hg ci -m 'add bar'

hg cp bar foo
echo >> bar
hg ci -m 'cp bar foo; change bar'

hg debugrename foo
hg debugindex .hg/store/data/bar.i