tests/test-commit-copy
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 30 Jun 2008 10:36:45 +0200
changeset 6788 88a1bcc5c6a7
parent 3853 c0b449154a90
permissions -rwxr-xr-x
hgweb: use a single-element tuple to return from protocol.unbundle() Python 2.3/2.4 don't support yielding from inside try/finally blocks.

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