pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/trac/patches Choose to trust upstream about this b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/316fd2e5837c
branches:  trunk
changeset: 646443:316fd2e5837c
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Feb 08 17:55:09 2015 +0000

description:
Choose to trust upstream about this being fixed.

Also, avoid setting a questionable precedent of leaving unused patch
files around.

diffstat:

 www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py |  41 --------------
 1 files changed, 0 insertions(+), 41 deletions(-)

diffs (45 lines):

diff -r 4d7b5b502143 -r 316fd2e5837c www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py
--- a/www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py        Sun Feb 08 17:48:33 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-$NetBSD: patch-tracopt_versioncontrol_git_PyGIT.py,v 1.3 2015/02/08 16:52:46 gdt Exp $
-
-2015-02-08: upstream says that this is unnecesary >= 1.0.2 because of
-http://trac.edgewall.org/changeset/11710
-which has since been refactored into a utils file.
-Hence it is not in distinfo, and parked here commented out until this is
-confirmed.
-
-The git browser can fail if the git log process has already exited when
-trac tries to terminate it (resulting in a python exception).
-
-This patch should be applied upstream; Reported to trac-devel@ on
-2014-03-11 and on 2015-01-18.
-
-# --- tracopt/versioncontrol/git/PyGIT.py.orig 2013-02-01 00:47:41.000000000 +0000
-# +++ tracopt/versioncontrol/git/PyGIT.py
-# @@ -913,7 +913,11 @@ class Storage(object):
-#                          except ValueError:
-#                              break
-#              f.close()
-# -            terminate(p[0])
-# +            # The process may or may not have finished.
-# +            try:
-# +                terminate(p[0])
-# +            except:
-# +                pass
-#              p[0].wait()
-#              p[:] = []
-#              while True:
-# @@ -930,7 +934,10 @@ class Storage(object):
- 
-#          if p:
-#              p[0].stdout.close()
-# -            terminate(p[0])
-# +            try:
-# +                terminate(p[0])
-# +            except:
-# +                pass
-#              p[0].wait()
- 
-#      def last_change(self, sha, path, historian=None):



Home | Main Index | Thread Index | Old Index