view tests/test-commit-copy @ 4743:cc0fb3500dd5

mercurial.spec: include various utility files from contrib/ in rpm Files included: hgk convert-repo hg-ssh hg-viz git-rev-tree bash_completion zsh_completion mercurial.el
author Adam Spiers <hg@adamspiers.org>
date Sun, 03 Jun 2007 14:40:56 +0100
parents c0b449154a90
children
line wrap: on
line source

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