[PATCH v2] lazymanifest: write a more efficient, pypy friendly version of lazymanifest

Maciej Fijalkowski fijall at gmail.com
Wed Sep 28 07:48:37 EDT 2016


cool, thanks guys!

I've sent a new version that should pass all the tests.

On Sun, Sep 25, 2016 at 1:03 PM, Jun Wu <quark at fb.com> wrote:
> Excerpts from Maciej Fijalkowski's message of 2016-09-25 09:13:29 +0200:
>> a proper debugger which is surprisingly hard to use in the case of
>> mercurial tests
>
> If you mean ipdb cannot be used together with run-tests.py, it could be
> solved by changing its I/O to /dev/tty, like:
>
>     from IPython.core.debugger import Pdb
>     originit = Pdb.__init__
>     def pdbinit(*args, **kwargs):
>         fin = open('/dev/tty', 'r')
>         fout = open('/dev/tty', 'w')
>         originit(*args, stdin=fin, stdout=fout, **kwargs)
>     Pdb.__init__ = pdbinit
>     import ipdb; ipdb.set_trace()


More information about the Mercurial-devel mailing list