view tests/test-issue1089 @ 9096:47bc92755b95

keyword: eliminate potential reference cycles from kwrepo - delete kwrepo.commitctx after using the tweaked version - prefer self.hook over repo.hook to avoid nesting Also pass arguments to commit as arbitrary list. Thanks to Simon Heimberg and Matt Mackall for guidance.
author Christian Ebert <blacktrash@gmx.net>
date Thu, 09 Jul 2009 11:59:12 +0200
parents 2268edff1bec
children
line wrap: on
line source

#!/bin/sh

hg init a
cd a
mkdir a
echo a > a/b
hg ci -Am m
hg rm a
hg ci -m m a

mkdir a b
echo a > a/b
hg ci -Am m
hg rm a
cd b
# relative delete
hg ci -m m ../a