[PATCH V4] revert: add an experimental config to use inverted selection

Augie Fackler raf at durin42.com
Mon Jun 1 19:03:13 CDT 2015


On Mon, Jun 01, 2015 at 08:17:21PM +0000, Laurent Charignon wrote:
>
> > On Jun 1, 2015, at 11:17 AM, Laurent Charignon <lcharignon at fb.com> wrote:

> > diff --git a/tests/test-doctest.py b/tests/test-doctest.py
> > --- a/tests/test-doctest.py
> > +++ b/tests/test-doctest.py
> > @@ -5,6 +5,7 @@
> > import doctest
> >
> > def testmod(name, optionflags=0, testtarget=None):
> > +    sys.path.insert(1,"..")
>
> Please discard this hunk, it needs a proper fix and it was a
> temporary hack to test locally.  Without it I was not able to run
> the doc test against the local mercurial, does anyone have a
> workaround/tip for this?

Huh, that's interesting. What output do you see if you try and run
doctests against a local hg?

(This is probably worth filing a tracking bug on bz.selenic for, but
I'm happy to discuss here as the problem may be easy for me to fix.)

>
> >     __import__(name)
> >     mod = sys.modules[name]
> >     if testtarget is not None:


More information about the Mercurial-devel mailing list