[PATCH 2 of 3] test-chg: run only with chg

Yuya Nishihara yuya at tcha.org
Wed Apr 13 10:45:17 EDT 2016


On Tue, 12 Apr 2016 23:56:31 -0700, Pierre-Yves David wrote:
> On 04/08/2016 08:23 AM, Yuya Nishihara wrote:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1458511143 25200
> > #      Sun Mar 20 14:59:03 2016 -0700
> > # Node ID 369d151ba12b38708c9e8094c157a56bb52e2d1f
> > # Parent  346e013b362fcbb5146c6167cea35bdb14c848ec
> > test-chg: run only with chg  
> 
> That test is a bit strange to me. I would expect we would have a test 
> that use chg no matter what and check that the basic are still working. 
> Instead it seems we have a test that catch some chg corner case but only 
> actually exercise them when --chg is passed.

We try hard to make all tests pass with --chg, which should cover the
basics. On the other hand, we need tests for chg-specific issues such as
stale cache.

Maybe we can rename the test to something like test-chg-issues.t.


More information about the Mercurial-devel mailing list