[PATCH 3 of 5] py3: byteify gendoc.py

Matt Harbison mharbison72 at gmail.com
Wed Dec 19 17:45:23 EST 2018


On Wed, 19 Dec 2018 17:39:18 -0500, Matt Harbison <mharbison72 at gmail.com>  
wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1545185847 18000
> #      Tue Dec 18 21:17:27 2018 -0500
> # Node ID 7935c7f28f9d098fa76d207e70455260a42e3190
> # Parent  c96002c3968f7f74bfe68c5bacb1ba717a58e290
> py3: byteify gendoc.py

Before patches 3-5, all of the gendoc tests were failing.  (The buildbot  
is missing requirements to run them.)  Afterward, 9 of 13 pass.  But 4  
still fail for py3 with errors like this:

--- c:/Users/Matt/hg/tests/test-gendoc-da.t
+++ c:/Users/Matt/hg/tests/test-gendoc-da.t.err
@@ -2,3 +2,19 @@

    $ $TESTDIR/check-gendoc da
    checking for parse errors
+  gendoc.txt:3516: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  Milj\xc3\xb8variable\r (esc)
+  """""""""""""\r (esc)
+  gendoc.txt:3516: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  Milj\xc3\xb8variable\r (esc)
+  """""""""""""\r (esc)
+  gendoc.txt:5127: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  M\xc3\xb8nstre for filnavne\r (esc)
+  """"""""""""""""""""\r (esc)
+  gendoc.txt:5127: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  M\xc3\xb8nstre for filnavne\r (esc)
+  """"""""""""""""""""\r (esc)

ERROR: test-gendoc-da.t output changed

That makes me think something is wrong with the gendoc.txt file generated  
by this module.  py2 still works.


More information about the Mercurial-devel mailing list