[PATCH 1 of 8] test: use a lighter log style in histedit test

Martin Geisler martin at geisler.net
Tue Apr 16 16:04:12 CDT 2013


Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1366121067 -7200
> # Node ID cc166f7758b21cf809a7d0713f614f0b9d80e394
> # Parent  a59e575c6ff87b517a8bb167c509a93003bfef53
> test: use a lighter log style in histedit test
>
> The default log display a log of information useless for histedit test. Having a
> cleaner log help readability of those test a lot.
>
> This does not change anything to the test semantic.
>
> diff --git a/tests/test-histedit-fold.t b/tests/test-histedit-fold.t
> --- a/tests/test-histedit-fold.t
> +++ b/tests/test-histedit-fold.t
> @@ -110,27 +77,11 @@ post-fold manifest
>  
>  
>  check histedit_source
>  
>    $ hg log --debug --rev 3
> -  changeset:   3:5e24935bad3d5a4486de3b90f233e991465ced72
> -  phase:       draft
> -  parent:      2:ee283cb5f2d5955443f23a27b697a04339e9a39a
> -  parent:      -1:0000000000000000000000000000000000000000
> -  manifest:    3:81eede616954057198ead0b2c73b41d1f392829a
> -  user:        test
> -  date:        Thu Jan 01 00:00:00 1970 +0000
> -  files+:      c f
> -  extra:       branch=default
> -  extra:       histedit_source=a4f7421b80f79fcc59fff01bcbf4a53d127dd6d3,177f92b773850b59254aa5e923436f921b55483b
> -  description:
> -  pick e860deea161a e
> -  pick 652413bf663e f
> -  fold 177f92b77385 c
> -  pick 055a42cdd887 d
> -  
> -  
> +  3:5e24935bad3d pick e860deea161a e'

I think this change goes against the comment just before since
histedit_source cannot be seen with the more compact log style.

Apart from that it's great to see more readeable tests!

-- 
Martin Geisler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130416/33132277/attachment.pgp>


More information about the Mercurial-devel mailing list