Augie Fackler a écrit :
Can you take a look at this?
There's a typo in patch 1 that got fixed in patch 4 (unrelated change). I'll send a V5.
--- /home/augie/hg/tests/test-websub.t +++ /home/augie/hg/tests/test-websub.t.err @@ -28,9 +28,29 @@ log $ get-with-headers.py localhost:$HGPORT "rev/tip" | grep bts - <div class="description"><a href="http://bts.example.org/issue123">Issue123</a>: fixed the <i class="x">bug</i>!</div> + [1] errors $ cat errors.log + $LOCALIP - - [24/Mar/2017 22:32:42] Exception happened during processing request '/rev/tip': + Traceback (most recent call last): + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/hgweb/server.py", line 100, in do_POST + self.do_write() + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/hgweb/server.py", line 93, in do_write + self.do_hgweb() + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/hgweb/server.py", line 161, in do_hgweb + for chunk in self.server.application(env, self._start_response): + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/hgweb/hgweb_mod.py", line 315, in run_wsgi + for r in self._runwsgi(req, repo): + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/util.py", line 867, in increasingchunks + for chunk in source: + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/templater.py", line 1035, in _flatten + for j in _flatten(i): + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/templater.py", line 1027, in _flatten + for i in thing: + File "/tmp/hgtests.jp66xI/install/lib/python/mercurial/hgweb/webutil.py", line 435, in diffs + repo = web.repo + NameError: global name 'web' is not defined +
_______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel