tests/test-commit-copy
author Matt Mackall <mpm@selenic.com>
Mon, 25 Jun 2007 12:44:48 -0500
changeset 4718 934275cd4526
parent 3853 c0b449154a90
permissions -rwxr-xr-x
backout: report short hash in commit message

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