[Python-apps-commits] r5741 - in packages/mercurial/trunk/debian/patches (1 file)
vdanjean at users.alioth.debian.org
vdanjean at users.alioth.debian.org
Sun Jul 4 07:34:03 UTC 2010
Date: Sunday, July 4, 2010 @ 07:33:52
Author: vdanjean
Revision: 5741
Re-add missing chunk to install help separately
It does not seem to be upstream yet (and upstream would
not add it like that : it is too linux specific)
Modified:
packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately
Modified: packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately 2010-07-03 22:18:57 UTC (rev 5740)
+++ packages/mercurial/trunk/debian/patches/deb_specific__install-help-separately 2010-07-04 07:33:52 UTC (rev 5741)
@@ -12,3 +12,19 @@
def ordinarypath(p):
return p and p[0] != '.' and p[-1] != '~'
+--- a/mercurial/help.py
++++ b/mercurial/help.py
+@@ -73,9 +73,11 @@
+ module = __file__
+ base = os.path.dirname(module)
+
++ docdir = '/usr/share/mercurial/help'
+ for dir in ('.', '..'):
+- docdir = os.path.join(base, dir, 'help')
+- if os.path.isdir(docdir):
++ tmpdocdir = os.path.join(base, dir, 'help')
++ if os.path.isdir(tmpdocdir):
++ docdir = tmpdocdir
+ break
+
+ path = os.path.join(docdir, topic + ".txt")
More information about the Python-apps-commits
mailing list