[PATCH] test-mq-subrepo.t: skip test if svn not installed

Matt Mackall mpm at selenic.com
Sun Jan 9 16:50:52 CST 2011


On Sun, 2011-01-09 at 15:17 +0100, Adrian Buehlmann wrote:
> (adding Kevin to cc)
> 
> On 2011-01-07 22:12, Matt Mackall wrote:
> > On Fri, 2011-01-07 at 21:27 +0100, Patrick Mézard wrote:
> >> Le 07/01/11 19:16, Adrian Buehlmann a écrit :
> >>> # HG changeset patch
> >>> # User Adrian Buehlmann <adrian at cadifra.com>
> >>> # Date 1294424121 -3600
> >>> # Node ID ad2166edbd1a435c160ec4b18eb9891c0b9bea1a
> >>> # Parent  a8cef95cea8883d05cf40e192036672e75f3dc4f
> >>> test-mq-subrepo.t: skip test if svn not installed
> >>
> >> Sure.
> >>
> >> In crew as http://hg.intevation.org/mercurial/crew/rev/0b2407ee081b
> > 
> > Hrmm. This isn't ideal - we'll end up skipping the entire test if the
> > SVN-only bits don't work.
> > 
> 
> Would it make sense if Kevin would move his test changes (in
> a8cef95cea88) into a separate new test file then, which then can be
> skipped separately if svn is not installed?

This is probably better. Probably all the subrepo+svn tests should live
together. We've always got mq, so having mq bits in an svn test is less
problematic than having svn bits in an mq test.

> Or do we want to require svn installed for all tests?

Given that our goal is to obsolete SVN and friends, that seems
problematic.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list