Date: Sat, 17 Aug 2013 22:22:24 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324874 - in head/www/trac-TracDuplicates: . files Message-ID: <201308172222.r7HMMOwb050779@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sat Aug 17 22:22:23 2013 New Revision: 324874 URL: http://svnweb.freebsd.org/changeset/ports/324874 Log: Add patch for Trac 1.0 compatibility. PR: ports/181303 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: Gea-Suan Lin <gslin@gslin.org> (maintainer) Added: head/www/trac-TracDuplicates/files/ head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py (contents, props changed) Modified: head/www/trac-TracDuplicates/Makefile Modified: head/www/trac-TracDuplicates/Makefile ============================================================================== --- head/www/trac-TracDuplicates/Makefile Sat Aug 17 22:16:57 2013 (r324873) +++ head/www/trac-TracDuplicates/Makefile Sat Aug 17 22:22:23 2013 (r324874) @@ -3,6 +3,7 @@ PORTNAME= TracDuplicates PORTVERSION= 0.11 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= GH PKGNAMEPREFIX= trac- Added: head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py Sat Aug 17 22:22:23 2013 (r324874) @@ -0,0 +1,20 @@ +--- tracduplicates/web_ui.py.orig 2010-09-26 10:42:18.000000000 +0800 ++++ tracduplicates/web_ui.py 2013-08-15 01:23:26.793491000 +0800 +@@ -12,7 +12,7 @@ + ticket._proxy_old_save = ticket.save_changes + ticket.save_changes = self.save_changes + +- def save_changes(self, author, comment, when=0, db=None, cnum=''): ++ def save_changes(self, author, comment, when=0, db=None, cnum='', replyto=None): + dupeticket = Ticket(self._ticket.env, self._dupe_id, db=db) + dupeticket.save_changes( + author, +@@ -25,7 +25,7 @@ + else: + comment += "\n\n" + comment += "*** Marked duplicate of #%d ***" % self._dupe_id +- return self._ticket._proxy_old_save(author, comment, when=when, db=db, cnum=cnum) ++ return self._ticket._proxy_old_save(author, comment, when=when, db=db, cnum=cnum, replyto=replyto) + + class DuplicatesWorkflow(Component): + implements(ITicketActionController)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308172222.r7HMMOwb050779>