tests/test-commit-copy
author Matt Mackall <mpm@selenic.com>
Wed, 30 Jan 2008 17:30:34 -0600
changeset 5935 0973501e5f4a
parent 3853 c0b449154a90
permissions -rwxr-xr-x
win32: remove excessive flushing Our Windows file code was flushing buffers from the operating system to disk, rather than from the application to the operating system.

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