# HG changeset patch # User Giorgos Keramidas # Date 2006-08-15 18:22:26 # Node ID cd47230a4eb9ac9f9a2b2bbd8ecda600c73afe39 # Parent 773c5b82d052b4a9b439369a3dbb5f8dedd7159a tests: new test for "hg annotate" diff --git a/tests/test-annotate b/tests/test-annotate new file mode 100644 --- /dev/null +++ b/tests/test-annotate @@ -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 --git a/tests/test-annotate.out b/tests/test-annotate.out new file mode 100644 --- /dev/null +++ b/tests/test-annotate.out @@ -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