tests/test-hgk
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 03 Nov 2008 20:05:03 +0100
changeset 7309 e74a9173c2d7
parent 6800 cc7114d96548
permissions -rwxr-xr-x
hgweb: use patch.diff() to make sensible diffs (issue1223, issue1258) This gets us git diffs when enabled and doesn't pick erratic file parents.

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