[PATCH] test-treemanifest: ensure manifest command isn't broken

Augie Fackler raf at durin42.com
Thu Aug 4 16:59:06 UTC 2016


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1469737655 14400
#      Thu Jul 28 16:27:35 2016 -0400
# Node ID e81f6ebeca390d19f3da1871e9518a16871b090a
# Parent  f2846d54664567083fdd8e400b8021e09b498c48
test-treemanifest: ensure manifest command isn't broken

I realized we weren't testing this while hunting a broken manifest
command bug that ended up being narrowhg's fault.

diff --git a/tests/test-treemanifest.t b/tests/test-treemanifest.t
--- a/tests/test-treemanifest.t
+++ b/tests/test-treemanifest.t
@@ -338,6 +338,20 @@ Shelving and unshelving should work
    1
   +foo
 
+The manifest command shouldn't be broken
+  $ hg manifest
+  a
+  b
+  dir1/a
+  dir1/b
+  dir1/dir1/a
+  dir1/dir1/b
+  dir1/dir2/a
+  dir1/dir2/b
+  dir2/a
+  dir2/b
+  e
+
 Pushing from treemanifest repo to an empty repo makes that a treemanifest repo
 
   $ cd ..


More information about the Mercurial-devel mailing list