view tests/test-diffdir @ 3588:45574a225632

git patch: create empty added files
author Brendan Cully <brendan@kublai.com>
date Mon, 30 Oct 2006 16:10:58 -0800
parents 096f1c73cdc3
children 000d122071b5
line wrap: on
line source

#!/bin/sh

hg init
touch a
hg add a
hg ci -m "a" -d "1000000 0"

echo 123 > b
hg add b
hg diff --nodates

hg diff --nodates -r tip

echo foo > a
hg diff --nodates