tests/test-commit-copy
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 16 Jul 2007 16:50:47 -0700
changeset 4887 bbdcacf7cef8
parent 3853 c0b449154a90
permissions -rwxr-xr-x
mq: autodetect an existing git patch during qrefresh (issue 491)

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