[Python-apps-commits] r6395 - in packages/mercurial/trunk/debian/patches (5 files)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Mon Dec 13 21:35:12 UTC 2010


    Date: Monday, December 13, 2010 @ 21:35:11
  Author: vicho-guest
Revision: 6395

Refresh patches

Modified:
  packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately
  packages/mercurial/trunk/debian/patches/deb_specific__install-mo-fhs.patch
  packages/mercurial/trunk/debian/patches/deb_specific__install-templates-separately
  packages/mercurial/trunk/debian/patches/deb_specific__optional-dependencies
  packages/mercurial/trunk/debian/patches/deb_specific__use_sensible-editor.patch

Modified: packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately	2010-12-13 21:35:03 UTC (rev 6394)
+++ packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately	2010-12-13 21:35:11 UTC (rev 6395)
@@ -2,7 +2,7 @@
 
 --- a/setup.py
 +++ b/setup.py
-@@ -280,8 +280,7 @@
+@@ -340,8 +340,7 @@
          extmodules.append(inotify)
          packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
  

Modified: packages/mercurial/trunk/debian/patches/deb_specific__install-mo-fhs.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__install-mo-fhs.patch	2010-12-13 21:35:03 UTC (rev 6394)
+++ packages/mercurial/trunk/debian/patches/deb_specific__install-mo-fhs.patch	2010-12-13 21:35:11 UTC (rev 6395)
@@ -12,7 +12,7 @@
          break
 --- a/setup.py
 +++ b/setup.py
-@@ -280,7 +280,7 @@
+@@ -340,7 +340,7 @@
          extmodules.append(inotify)
          packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
  

Modified: packages/mercurial/trunk/debian/patches/deb_specific__install-templates-separately
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__install-templates-separately	2010-12-13 21:35:03 UTC (rev 6394)
+++ packages/mercurial/trunk/debian/patches/deb_specific__install-templates-separately	2010-12-13 21:35:11 UTC (rev 6395)
@@ -13,7 +13,7 @@
  def _flatten(thing):
 --- a/setup.py
 +++ b/setup.py
-@@ -286,14 +286,6 @@
+@@ -346,14 +346,6 @@
  def ordinarypath(p):
      return p and p[0] != '.' and p[-1] != '~'
  

Modified: packages/mercurial/trunk/debian/patches/deb_specific__optional-dependencies
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__optional-dependencies	2010-12-13 21:35:03 UTC (rev 6394)
+++ packages/mercurial/trunk/debian/patches/deb_specific__optional-dependencies	2010-12-13 21:35:11 UTC (rev 6395)
@@ -74,7 +74,7 @@
  
 --- a/hgext/convert/git.py
 +++ b/hgext/convert/git.py
-@@ -43,7 +43,7 @@
+@@ -44,7 +44,7 @@
          if not os.path.exists(path + "/objects"):
              raise NoRepo(_("%s does not look like a Git repository") % path)
  
@@ -139,7 +139,7 @@
  
          self.lastrevs = {}
  
-@@ -953,6 +957,9 @@
+@@ -960,6 +964,9 @@
          return self.join('hg-authormap')
  
      def __init__(self, ui, path):
@@ -151,13 +151,23 @@
          self.delete = []
 --- a/mercurial/hgweb/server.py
 +++ b/mercurial/hgweb/server.py
-@@ -225,7 +225,8 @@
-                 from OpenSSL import SSL
-                 ctx = SSL.Context(SSL.SSLv23_METHOD)
-             except ImportError:
--                raise util.Abort(_("SSL support is unavailable"))
-+                raise util.Abort(_("SSL support is unavailable") +
-+                                 _(" (try installing the %s package)") % 'python-openssl')
-             ctx.use_privatekey_file(ssl_cert)
-             ctx.use_certificate_file(ssl_cert)
-             sock = socket.socket(self.address_family, self.socket_type)
+@@ -184,7 +184,8 @@
+             import OpenSSL
+             OpenSSL.SSL.Context
+         except ImportError:
+-            raise util.Abort(_("SSL support is unavailable"))
++            raise util.Abort(_("SSL support is unavailable") +
++                             _(" (try installing the %s package)") % 'python-openssl')
+         ctx = OpenSSL.SSL.Context(OpenSSL.SSL.SSLv23_METHOD)
+         ctx.use_privatekey_file(ssl_cert)
+         ctx.use_certificate_file(ssl_cert)
+@@ -225,7 +226,8 @@
+             import ssl
+             ssl.wrap_socket
+         except ImportError:
+-            raise util.Abort(_("SSL support is unavailable"))
++            raise util.Abort(_("SSL support is unavailable") +
++                             _(" (try installing the %s package)") % 'python-openssl')
+         httpserver.socket = ssl.wrap_socket(httpserver.socket, server_side=True,
+             certfile=ssl_cert, ssl_version=ssl.PROTOCOL_SSLv23)
+ 

Modified: packages/mercurial/trunk/debian/patches/deb_specific__use_sensible-editor.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__use_sensible-editor.patch	2010-12-13 21:35:03 UTC (rev 6394)
+++ packages/mercurial/trunk/debian/patches/deb_specific__use_sensible-editor.patch	2010-12-13 21:35:11 UTC (rev 6395)
@@ -2,7 +2,7 @@
 
 --- a/doc/hgrc.5.txt
 +++ b/doc/hgrc.5.txt
-@@ -831,7 +831,8 @@
+@@ -861,7 +861,8 @@
  ``debug``
      Print debugging information. True or False. Default is False.
  ``editor``
@@ -25,7 +25,7 @@
          EDITOR="$EDITOR -nw"
 --- a/mercurial/commands.py
 +++ b/mercurial/commands.py
-@@ -1356,8 +1356,8 @@
+@@ -1405,8 +1405,8 @@
      editor = ui.geteditor()
      cmdpath = util.find_exe(editor) or util.find_exe(editor.split()[0])
      if not cmdpath:
@@ -38,7 +38,7 @@
          else:
 --- a/mercurial/ui.py
 +++ b/mercurial/ui.py
-@@ -559,7 +559,7 @@
+@@ -570,7 +570,7 @@
          return (os.environ.get("HGEDITOR") or
                  self.config("ui", "editor") or
                  os.environ.get("VISUAL") or
@@ -49,7 +49,7 @@
          '''show a progress message
 --- a/i18n/da.po
 +++ b/i18n/da.po
-@@ -7103,7 +7103,7 @@
+@@ -7355,7 +7355,7 @@
  msgid "Checking commit editor...\n"
  msgstr ""
  
@@ -57,8 +57,8 @@
 +msgid " No commit editor set and can't find sensible-editor in PATH\n"
  msgstr ""
  
- msgid " (specify a commit editor in your .hgrc file)\n"
-@@ -10199,7 +10199,7 @@
+ msgid " (specify a commit editor in your configuration file)\n"
+@@ -10567,7 +10567,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
@@ -69,26 +69,35 @@
  msgid ""
 --- a/i18n/de.po
 +++ b/i18n/de.po
-@@ -340,7 +340,7 @@
+@@ -8301,8 +8301,8 @@
+ msgid "Checking commit editor...\n"
+ msgstr "Prüfe Editor für Versionsmeldungen...\n"
+ 
+-msgid " No commit editor set and can't find vi in PATH\n"
+-msgstr " Kein Editor für Versionsmeldungen angegeben und vi nicht im PATH\n"
++msgid " No commit editor set and can't find sensible-editor in PATH\n"
++msgstr " Kein Editor für Versionsmeldungen angegeben und sensible-editor nicht im PATH\n"
+ 
+ #, fuzzy
+ msgid " (specify a commit editor in your configuration file)\n"
+@@ -13003,7 +13003,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
 -"    defaults to 'vi'."
 +"    defaults to 'sensible-editor'."
  msgstr ""
+ "EDITOR\n"
+ "    Manchmal muss Mercurial eine Textdatei in einem Editor öffnen, damit\n"
+@@ -13011,7 +13011,7 @@
+ "    Nachricht geschrieben wird. Der verwendete Editor wird aus den drei\n"
+ "    Umgebungsvariablen HGEDITOR, VISUAL und EDITOR (in dieser Reihenfolge)\n"
+ "    ermittelt. Der erste nicht-leere wird verwendet. Wenn alle Angaben\n"
+-"    leer sind, wird der Standard 'vi' verwendet."
++"    leer sind, wird der Standard 'sensible-editor' verwendet."
  
  msgid ""
-@@ -16177,8 +16177,8 @@
- msgid "Checking commit editor...\n"
- msgstr "Prüfe Editor für Versionsmeldungen...\n"
- 
--msgid " No commit editor set and can't find vi in PATH\n"
--msgstr " Kein Editor für Versionsmeldungen angegeben und vi nicht im PATH\n"
-+msgid " No commit editor set and can't find sensible-editor in PATH\n"
-+msgstr " Kein Editor für Versionsmeldungen angegeben und sensible-editor nicht im PATH\n"
- 
- msgid " (specify a commit editor in your .hgrc file)\n"
- msgstr " (Gib einen Editor in der .hgrc Datei an!)\n"
+ "PYTHONPATH\n"
 --- a/i18n/el.po
 +++ b/i18n/el.po
 @@ -274,7 +274,7 @@
@@ -153,7 +162,7 @@
  msgid ""
 --- a/i18n/ja.po
 +++ b/i18n/ja.po
-@@ -7414,8 +7414,8 @@
+@@ -7608,8 +7608,8 @@
  msgid "Checking commit editor...\n"
  msgstr "メッセージ入力用エディタの検証中...\n"
  
@@ -164,7 +173,7 @@
  
  msgid " (specify a commit editor in your configuration file)\n"
  msgstr " (コミットメッセージ用エディタを設定ファイルで設定してください)\n"
-@@ -10847,14 +10847,14 @@
+@@ -11136,7 +11136,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
@@ -172,18 +181,19 @@
 +"    defaults to 'sensible-editor'."
  msgstr ""
  "EDITOR\n"
- "    コミット時のメッセージのように、エディタでファイルを開き、ユーザによる\n"
- "    編集を促す状況があります。そこで使用されるエディタは、HGEDITOR、VISUAL\n"
+ "    コミット時のメッセージのように、 エディタでファイルを開き、 ユーザによ"
+@@ -11145,7 +11145,7 @@
+ "VISUAL\n"
  "    あるいは EDITOR 環境変数に設定されたものを(この順序で)使用します。\n"
- "    最初の空で無い値に設定された環境変数の値を使用します。いずれも未設定\n"
--"    (あるいは空)の場合は、'vi' が使用されます。"
-+"    (あるいは空)の場合は、'sensible-editor' が使用されます。"
+ "    最初の空で無い値に設定された環境変数の値を使用します。 いずれも未設定\n"
+-"    (あるいは空)の場合は、 'vi' が使用されます。"
++"    (あるいは空)の場合は、 'sensible-editor' が使用されます。"
  
  msgid ""
  "PYTHONPATH\n"
 --- a/i18n/pt_BR.po
 +++ b/i18n/pt_BR.po
-@@ -8236,8 +8236,8 @@
+@@ -8443,8 +8443,8 @@
  msgid "Checking commit editor...\n"
  msgstr "Verificando editor para consolidação...\n"
  
@@ -194,7 +204,7 @@
  
  msgid " (specify a commit editor in your configuration file)\n"
  msgstr " (especifique um editor para consolidação em seu arquivo de configuração)\n"
-@@ -11716,7 +11716,7 @@
+@@ -12013,7 +12013,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
@@ -203,7 +213,7 @@
  msgstr ""
  "EDITOR\n"
  "    Algumas vezes o Mercurial precisa abrir em um editor um arquivo\n"
-@@ -11724,7 +11724,7 @@
+@@ -12021,7 +12021,7 @@
  "    mensagens de consolidação. O editor usado é determinado pela\n"
  "    consulta às variáveis de ambiente HGEDITOR, VISUAL e EDITOR,\n"
  "    nessa ordem. O primeiro valor não vazio é escolhido. Se todos\n"
@@ -214,7 +224,7 @@
  "PYTHONPATH\n"
 --- a/i18n/sv.po
 +++ b/i18n/sv.po
-@@ -6799,7 +6799,7 @@
+@@ -7068,7 +7068,7 @@
  msgid "Checking commit editor...\n"
  msgstr ""
  
@@ -222,8 +232,8 @@
 +msgid " No commit editor set and can't find sensible-editor in PATH\n"
  msgstr ""
  
- msgid " (specify a commit editor in your .hgrc file)\n"
-@@ -10095,7 +10095,7 @@
+ msgid " (specify a commit editor in your configuration file)\n"
+@@ -10460,7 +10460,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
@@ -254,7 +264,18 @@
  msgid ""
 --- a/i18n/zh_TW.po
 +++ b/i18n/zh_TW.po
-@@ -219,7 +219,7 @@
+@@ -6760,8 +6760,8 @@
+ msgid "Checking commit editor...\n"
+ msgstr "檢查提交訊息編輯器...\n"
+ 
+-msgid " No commit editor set and can't find vi in PATH\n"
+-msgstr "沒有設定提交訊息編輯器,然後在PATH中也沒有vi\n"
++msgid " No commit editor set and can't find sensible-editor in PATH\n"
++msgstr "沒有設定提交訊息編輯器,然後在PATH中也沒有sensible-editor\n"
+ 
+ msgid " (specify a commit editor in your configuration file)\n"
+ msgstr "(在你的設定檔指明一個用來編輯提交訊息的編輯器)\n"
+@@ -9710,7 +9710,7 @@
  "    editor it uses is determined by looking at the environment\n"
  "    variables HGEDITOR, VISUAL and EDITOR, in that order. The first\n"
  "    non-empty one is chosen. If all of them are empty, the editor\n"
@@ -263,18 +284,9 @@
  msgstr ""
  
  msgid ""
-@@ -6828,7 +6828,7 @@
- msgid "Checking commit editor...\n"
- msgstr ""
- 
--msgid " No commit editor set and can't find vi in PATH\n"
-+msgid " No commit editor set and can't find sensible-editor in PATH\n"
- msgstr ""
- 
- msgid " (specify a commit editor in your .hgrc file)\n"
 --- a/mercurial/help/environment.txt
 +++ b/mercurial/help/environment.txt
-@@ -79,7 +79,7 @@
+@@ -86,7 +86,7 @@
      editor it uses is determined by looking at the environment
      variables HGEDITOR, VISUAL and EDITOR, in that order. The first
      non-empty one is chosen. If all of them are empty, the editor




More information about the Python-apps-commits mailing list