tests: new test for "hg annotate"
authorGiorgos Keramidas <keramida@ceid.upatras.gr>
Tue, 15 Aug 2006 21:22:26 +0300
changeset 2923 cd47230a4eb9
parent 2922 773c5b82d052
child 2924 d62ce27d925a
tests: new test for "hg annotate"
tests/test-annotate
tests/test-annotate.out
--- /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
--- /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