# HG changeset patch # User Giorgos Keramidas # Date 1155666146 -10800 # Node ID cd47230a4eb9ac9f9a2b2bbd8ecda600c73afe39 # Parent 773c5b82d052b4a9b439369a3dbb5f8dedd7159a tests: new test for "hg annotate" diff -r 773c5b82d052 -r cd47230a4eb9 tests/test-annotate --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-annotate Tue Aug 15 21:22:26 2006 +0300 @@ -0,0 +1,23 @@ +#!/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 diff -r 773c5b82d052 -r cd47230a4eb9 tests/test-annotate.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-annotate.out Tue Aug 15 21:22:26 2006 +0300 @@ -0,0 +1,13 @@ +% init +% commit +adding a +% annotate -c +8435f90966e4: a +% annotate -d +Thu Jan 01 00:00:01 1970 +0000: a +% annotate -n +0: a +% annotate -u +nobody: a +% annotate -cdnu +nobody 0 8435f90966e4 Thu Jan 01 00:00:01 1970 +0000: a