phases: add a very simple test
Note that the expected output is wrong as is should be phase-1. But
the machinery to plant new root is to come in later commit.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-phases.t Fri Nov 04 00:40:47 2011 +0100
@@ -0,0 +1,10 @@
+ $ alias hglog='hg log --template "{rev} {phase} {desc}\n"'
+
+ $ hg init initialrepo
+ $ cd initialrepo
+ $ touch sam
+ $ hg add sam
+ $ hg ci -m 'first'
+
+ $ hglog
+ 0 0 first