[PATCH] test-treemanifest: ensure manifest command isn't broken
Martin von Zweigbergk
martinvonz at google.com
Fri Aug 5 06:00:07 UTC 2016
Thanks, pushed to committed with some minor changes.
On Thu, Aug 4, 2016 at 9:59 AM, Augie Fackler <raf at durin42.com> wrote:
> # 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
I worded this more positively :-) Also moved test case up a little so
it's close to where we happened to have a call to "hg files" already.
> + $ 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 ..
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list