view tests/test-annotate @ 3066:035fd2029575

git --diff: fix traceback when getting mode change - use the manifest instead of the mode in the working dir if the diff is against two revisions - add a testcase
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 07 Sep 2006 14:12:39 +0200
parents 14b4ad613dd8
children 5c93dd0ae413
line wrap: on
line source

#!/bin/sh

echo % init
hg init

echo % commit
echo 'a' > a
hg ci -A -m test -u nobody -d '1 0'

echo % annotate -c
hg annotate -c a

echo % annotate -d
hg annotate -d a

echo % annotate -n
hg annotate -n a

echo % annotate -u
hg annotate -u a

echo % annotate -cdnu
hg annotate -cdnu a