[Python-apps-team] updated patch

Faheem Mitha faheem at email.unc.edu
Sun May 2 10:30:17 UTC 2010


Hi,

I used the debian packaging from 
svn://svn.debian.org/python-apps/packages/mercurial/trunk/debian to build 
mercurial 1.5.2, released yesterday. I needed to update one of the patches 
slightly. See below.

                                                           Regards, Faheem.

# HG changeset patch
# User Faheem Mitha <faheem at email.unc.edu>
# Date 1272794196 -19800
# Node ID d65c34b10760194ce642d978fd7b2acbaed873fd
# Parent  5d5b015755f4f664954d8244ac24e131fb739de1
Update patch.

diff -r 5d5b015755f4 -r d65c34b10760 debian/patches/deb_specific__optional-dependencies
--- a/debian/patches/deb_specific__optional-dependencies	Sun May 02 15:13:39 2010 +0530
+++ b/debian/patches/deb_specific__optional-dependencies	Sun May 02 15:26:36 2010 +0530
@@ -14,11 +14,11 @@
           raise util.Abort(_('hook type %s does not pass a changeset id') %
  --- a/hgext/convert/bzr.py
  +++ b/hgext/convert/bzr.py
-@@ -43,7 +43,8 @@
+@@ -44,7 +44,8 @@
               # access bzrlib stuff
               branch
           except NameError:
--            raise NoRepo('Bazaar modules could not be loaded')
+-            raise NoRepo(_('Bazaar modules could not be loaded'))
  +            raise NoRepo('Bazaar modules could not be loaded' +
  +                         _(' (try installing the %s package)') % 'bzr')



More information about the Python-apps-team mailing list