mercurial/help.py
changeset 22637 149141c3a25f
parent 22633 92b54547ac5d
child 23624 861ddedfb402
--- a/mercurial/help.py	Sun Sep 28 16:57:37 2014 +0200
+++ b/mercurial/help.py	Sun Sep 28 16:57:47 2014 +0200
@@ -129,11 +129,7 @@
     """Return a delayed loader for help/topic.txt."""
 
     def loader():
-        for dir in ('.', '..'):
-            docdir = os.path.join(util.datapath, dir, 'help')
-            if os.path.isdir(docdir):
-                break
-
+        docdir = os.path.join(util.datapath, 'help')
         path = os.path.join(docdir, topic + ".txt")
         doc = gettext(util.readfile(path))
         for rewriter in helphooks.get(topic, []):