tests/test-commit-copy
author Matt Mackall <mpm@selenic.com>
Mon, 08 Oct 2007 18:47:12 -0500
changeset 5422 a3ba7ef98c94
parent 3853 c0b449154a90
permissions -rwxr-xr-x
osutil: eliminate alloca call - make full_path a PATH_MAX + epsilon local buffer - use strncpy and strncat

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