rpms/trac-mercurial-plugin/devel trac-mercurial-plugin-hg-1.3.patch, NONE, 1.1 trac-mercurial-plugin.spec, 1.8, 1.9

Jesse Keating jkeating at fedoraproject.org
Mon Jul 20 17:42:10 UTC 2009


Author: jkeating

Update of /cvs/pkgs/rpms/trac-mercurial-plugin/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9445

Modified Files:
	trac-mercurial-plugin.spec 
Added Files:
	trac-mercurial-plugin-hg-1.3.patch 
Log Message:
* Mon Jul 20 2009 Jesse Keating <jkeating at redhat.com> - 0.11.0.7-5.20090715svn8072
- Patch for hg 1.3


trac-mercurial-plugin-hg-1.3.patch:
 backend.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- NEW FILE trac-mercurial-plugin-hg-1.3.patch ---
Index: tracext/hg/backend.py
===================================================================
--- tracext/hg/backend.py	(revision 8352)
+++ tracext/hg/backend.py	(working copy)
@@ -257,9 +257,8 @@
         
 class trac_ui(ui):
     def __init__(self, log, *args, **kwargs):
-        kwargs = kwargs.copy()
-        kwargs['interactive'] = False
-        ui.__init__(self, *args, **kwargs)
+        ui.__init__(self, *args)
+	self.setconfig('ui', 'interactive', 'off')
         self.log = log
         
     def write(self, *args):


Index: trac-mercurial-plugin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/trac-mercurial-plugin/devel/trac-mercurial-plugin.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- trac-mercurial-plugin.spec	15 Jul 2009 20:26:06 -0000	1.8
+++ trac-mercurial-plugin.spec	20 Jul 2009 17:41:40 -0000	1.9
@@ -5,7 +5,7 @@
 
 Name:           trac-mercurial-plugin
 Version:        0.11.0.7
-Release:        4.20090715svn%{svnrev}%{?dist}
+Release:        5.20090715svn%{svnrev}%{?dist}
 Summary:        Mercurial plugin for Trac
 
 Group:          Applications/Internet
@@ -17,18 +17,21 @@ URL:            http://trac.edgewall.org
 #                                  echo "include COPYING" > MANIFEST.in; \
 #                                  python setup.py sdist --formats gztar
 Source0:        TracMercurial-%{version}.tar.gz
+# This patch is from http://trac.edgewall.org/attachment/ticket/8460/patch_8352_for_hg_1.3
+Patch0:         trac-mercurial-plugin-hg-1.3.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-Requires:       mercurial >= 1.2, trac >= 0.11, python-setuptools
+Requires:       mercurial >= 1.3, trac >= 0.11, python-setuptools
 
 %description
 This plugin for Trac provides support for the Mercurial SCM.
 
 %prep
 %setup -n TracMercurial-%{version} -q
+%patch0 -p0
 
 
 %build
@@ -56,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jul 20 2009 Jesse Keating <jkeating at redhat.com> - 0.11.0.7-5.20090715svn8072
+- Patch for hg 1.3
+
 * Wed Jul 15 2009 Jesse Keating <jkeating at redhat.com> - 0.11.0.7-4.20090715svn8072
 - Update tarball generation steps
 




More information about the fedora-extras-commits mailing list