Your message dated Fri, 02 Dec 2016 21:05:25 +0000
with message-id <e1ccv1j-000e70...@fasolo.debian.org>
and subject line Bug#825248: fixed in hgview 1.9.0-1.1
has caused the Debian Bug report #825248,
regarding hgview-curses: Patch needed to work with mercurial 3.8.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
825248: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825248
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hgview-curses
Version: 1.9.0-1
Severity: important
Tags: patch

Hello,
mercurial 3.8.2 breaks hgview-curses, as function _getnodelineedgestail and 
_drawedges
in file /usr/lib/python2.7/dist-packages/mercurial/graphmod.py add new arg 
"echars".

I make a simple patch to workaround that, though I don't know exactly what 
should be in "echars".
Anyhow the simple patch works for my usecase.

Thanks 

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'work'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hgview-curses depends on:
ii  hgview-common     1.9.0-1
ii  python            2.7.11-1
ii  python-pygments   2.1.3+dfsg-1
ii  python-pyinotify  0.9.5-1
ii  python-urwid      1.3.1-2+b1

hgview-curses recommends no packages.

hgview-curses suggests no packages.

-- no debconf information
--- /usr/lib/python2.7/dist-packages/hgviewlib/curses/graphlog.py.orig	2016-05-25 12:52:57.196775537 +0800
+++ /usr/lib/python2.7/dist-packages/hgviewlib/curses/graphlog.py	2016-05-25 13:08:11.051555423 +0800
@@ -312,6 +312,9 @@
     # some support of obsolete relation display
     # assert -2 < coldiff < 2
     assert height > 0
+
+    echars = ('|', ' ') * (ncols + coldiff)
+
     if coldiff == -1:
         _fixlongrightedges(edges)
     # add_padding_line says whether to rewrite
@@ -323,7 +326,7 @@
     # nodeline is the line containing the node character (typically o)
     nodeline = ["|", " "] * idx
     nodeline.extend([('GraphLog.node', char), " "])
-    nodeline.extend(_getnodelineedgestail(idx, state[1], ncols, coldiff,
+    nodeline.extend(_getnodelineedgestail(echars, idx, state[1], ncols, coldiff,
                                             state[0], fix_nodeline_tail))
     # shift_interline is the line containing the non-vertical
     # edges between this entry and the next
@@ -340,7 +343,7 @@
     shift_interline.extend(n_spaces * [" "])
     shift_interline.extend([edge_ch, " "] * (ncols - idx - 1))
     # draw edges from the current node to its parents
-    _drawedges(edges, nodeline, shift_interline)
+    _drawedges(echars, edges, nodeline, shift_interline)
     # lines is the list of all graph lines to print
     lines = [nodeline]
     if add_padding_line:

--- End Message ---
--- Begin Message ---
Source: hgview
Source-Version: 1.9.0-1.1

We believe that the bug you reported is fixed in the latest version of
hgview, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 825...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrey Rahmatullin <w...@debian.org> (supplier of updated hgview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Nov 2016 22:58:51 +0500
Source: hgview
Binary: hgview hgview-common hgview-curses
Architecture: source
Version: 1.9.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: David Douard <david.dou...@logilab.fr>
Changed-By: Andrey Rahmatullin <w...@debian.org>
Description:
 hgview     - mercurial interactive history viewer (Qt4 interface)
 hgview-common - mercurial interactive history viewer (common files)
 hgview-curses - mercurial interactive history viewer (text interface)
Closes: 825248
Changes:
 hgview (1.9.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix hgview-curses for Mercurial 3.8.2, patch by Zhang Jingqiang (Closes:
     #825248)
Checksums-Sha1:
 455e62b23021302489ca820964ede4a6c300109b 2138 hgview_1.9.0-1.1.dsc
 78351aae2b4d25dcd62fe80f4eadeb7caebbc369 7404 hgview_1.9.0-1.1.diff.gz
Checksums-Sha256:
 335fbf27a77789f797e994f7b41fa01d64e2f5936034acadf75396390fe84427 2138 
hgview_1.9.0-1.1.dsc
 ff43776e3e155a8b840e845b6c01b793f1e4e5c8a1c788315968b0e383953a9d 7404 
hgview_1.9.0-1.1.diff.gz
Files:
 8cbe5c5eb9ae75ba2186da64fff3b173 2138 vcs optional hgview_1.9.0-1.1.dsc
 93eff1217a3aa551cf427f85297fc7e5 7404 vcs optional hgview_1.9.0-1.1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAlg51REACgkQM2L3AxpJ
kuFAdA//fj2KfZZ2E0E7k8p+NDR0ZZYh/8MWzwpdbRNtjQnscEN65zkAFjrt3Jyd
x4ZI4z6Q6fmnZ4DmV5UArveLfXULVwrhpkAyrpxVV/Qdb7CXJQXXg9Ao04yrOi+/
FK8ibZd7Uh9C2gtJKO9tziPXLQ0OCts/9Vw72pqYITIfwZ8wlbJEPxBdJd7KJTOU
njx8QsEBvVBF8bsQ0Uvomq7StALgesjQuU7BgfkEMwTop137XaXMWPiShWtSmod6
x4e5NvY+bgbLQJyp/On6l8JsZYbzXHE4Wxn6DcEDldEIxwMkYXYxwSs0FUuW/otK
KlC4MrlpdtC65bwxrhy5/EaT9VedSEPL5SBAsFXv/yyPWnComMpNWikwMwr8Zv/0
C4fjkpxNVNbg0jyds9XZWmkBchxLYrFrfjg01aDzv4g4EwfG9kamNBtaayEtXg9D
BtEmOiRFLOBZCNyeoZC+c7R63Si/LliL9h8Dphsz7TUbKytKgJ9V/dAjYQwzsM+X
i9IqwHTKx3/GrUpMAECHanug2Vg3ASlB0kDQwjrFgFU01V/hAJ04k3OwT3DTSqJ+
8/rOY3uxp14UAvDuWi7Ej9j/RJ1eFo1TMAs/JilKE6rzo81mQIYEjujqJP34ffBT
NG+VzHliIRzPULjEH5mXq8j5tdEUv6x8ya6/FkvBIWmWFqasxK4=
=Nu1g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to