[PATCH 4 of 4] change tests so that 'hg heads -c' is needed to see closed heads

John Mulligan phlogistonjohn at asynchrono.us
Tue Jun 2 18:14:46 CDT 2009


# HG changeset patch
# User John Mulligan <phlogistonjohn at asynchrono.us>
# Date 1243983943 14400
# Node ID 87453b4d5e957434483eafac32264b9f3b01db43
# Parent  f3ac8bdab897c9eb5d963c4109ea5903406588fb
change tests so that 'hg heads -c' is needed to see closed heads

diff --git a/tests/test-branches b/tests/test-branches
--- a/tests/test-branches
+++ b/tests/test-branches
@@ -62,8 +62,8 @@
 echo 'xxx3' >> b
 hg commit -d '9 0' -m 'adding another cset to branch b'
 hg branches
+hg heads --closed
 hg heads
-hg heads -a
 hg commit -d '9 0' --close-branch -m 'prune bad branch'
 hg branches -a
 hg up -C b
@@ -75,5 +75,5 @@
 hg commit -d '9 0' -m 'reopen branch with a change'
 echo '--- branch b is back in action'
 hg branches -a
+hg heads -c
 hg heads
-hg heads -a
diff --git a/tests/test-debugcomplete.out b/tests/test-debugcomplete.out
--- a/tests/test-debugcomplete.out
+++ b/tests/test-debugcomplete.out
@@ -201,7 +201,7 @@
 debugstate: nodates
 debugwalk: include, exclude
 grep: print0, all, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
-heads: rev, active, style, template
+heads: rev, active, closed, style, template
 help: 
 identify: rev, num, id, branch, tags
 import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity


More information about the Mercurial-devel mailing list