# HG changeset patch # User Pierre-Yves David # Date 2011-11-03 23:40:47 # Node ID ea5b346024e1b26482c07c804ccdb6e0313e48b4 # Parent 042e11c4e416e17a6de7885418562863045675c8 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. diff --git a/tests/test-phases.t b/tests/test-phases.t new file mode 100644 --- /dev/null +++ b/tests/test-phases.t @@ -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