[PATCH] tests: run check-commit on secret changes too
Yuya Nishihara
yuya at tcha.org
Thu Jan 14 09:10:54 CST 2016
On Mon, 11 Jan 2016 11:48:04 -0600, Matt Mackall wrote:
> # HG changeset patch
> # User Matt Mackall <mpm at selenic.com>
> # Date 1452533728 21600
> # Mon Jan 11 11:35:28 2016 -0600
> # Node ID 4647cfbfde40fb18534cc1df4859a16d231bbdd9
> # Parent 5b216b4a17ab760048e19d9d795810a49c7f7c4a
> tests: run check-commit on secret changes too
>
> diff -r 5b216b4a17ab -r 4647cfbfde40 tests/test-check-commit.t
> --- a/tests/test-check-commit.t Fri Jan 08 12:07:15 2016 -0600
> +++ b/tests/test-check-commit.t Mon Jan 11 11:35:28 2016 -0600
> @@ -11,7 +11,7 @@
>
> $ cd $TESTDIR/..
>
> - $ for node in `hg log --rev 'draft() and ::.' --template '{node|short}\n'`; do
> + $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do
Seems fine as secret changes can be sent as patches. Pushed to the clowncopter,
thanks.
More information about the Mercurial-devel
mailing list