D1024: hgweb: do not import uuid immediately to avoid its side effect

2017-10-13 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf42dec9c976e: hgweb: do not import uuid immediately to avoid its side effect (authored by quark, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1024?vs=2635&id=2681#toc REPOSI

D1024: hgweb: do not import uuid immediately to avoid its side effect

2017-10-13 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > test-dispatch.t:64 > + > +#if no-windows > + Replaced with `#if rmcwd` REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1024 To: quark, #hg-reviewers, av6 Cc: yuja, mercurial-devel __

D1024: hgweb: do not import uuid immediately to avoid its side effect

2017-10-12 Thread quark (Jun Wu)
quark updated this revision to Diff 2635. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1024?vs=2613&id=2635 REVISION DETAIL https://phab.mercurial-scm.org/D1024 AFFECTED FILES mercurial/hgweb/common.py tests/test-dispatch.t CHANGE DETAILS diff -

D1024: hgweb: do not import uuid immediately to avoid its side effect

2017-10-11 Thread quark (Jun Wu)
quark updated this revision to Diff 2613. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1024?vs=2612&id=2613 REVISION DETAIL https://phab.mercurial-scm.org/D1024 AFFECTED FILES mercurial/hgweb/common.py tests/test-dispatch.t CHANGE DETAILS diff -

D1024: hgweb: do not import uuid immediately to avoid its side effect

2017-10-11 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY With hgdemandimport disabled (chg's case), `import uuid` has an immediate side effect calling `ctypes.util.find_library` trying to locate the `libuuid` library. T