view tests/test-hgk @ 12210:21eb85e9ea94

subrepo: handle diff with working copy We cannot unconditionally call bin(node2) since node2 is None when comparing with the working copy.
author Martin Geisler <mg@lazybytes.net>
date Fri, 10 Sep 2010 23:53:49 +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