view tests/test-hgk @ 7240:dac14cc9711e

test 261a9f47b44b: grep w/ match in last line w/o newline Last character in match output omitted to avoid infinite loop.
author Christian Ebert <blacktrash@gmx.net>
date Fri, 24 Oct 2008 08:16:01 +0200
parents cc7114d96548
children
line wrap: on
line source

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "hgk=" >> $HGRCPATH

hg init repo
cd repo
echo a > a
hg ci -Am adda
hg debug-cat-file commit 0