##// END OF EJS Templates
help: create packages for the help text...
Matt Harbison -
r44031:2e017696 default
parent child Browse files
Show More
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
@@ -311,7 +311,7 b' def loaddoc(topic, subdir=None):'
311 """Return a delayed loader for help/topic.txt."""
311 """Return a delayed loader for help/topic.txt."""
312
312
313 def loader(ui):
313 def loader(ui):
314 docdir = os.path.join(util.datapath, b'help')
314 docdir = os.path.join(util.datapath, b'helptext')
315 if subdir:
315 if subdir:
316 docdir = os.path.join(docdir, subdir)
316 docdir = os.path.join(docdir, subdir)
317 path = os.path.join(docdir, topic + b".txt")
317 path = os.path.join(docdir, topic + b".txt")
1 NO CONTENT: file renamed from mercurial/help/bundlespec.txt to mercurial/helptext/bundlespec.txt
NO CONTENT: file renamed from mercurial/help/bundlespec.txt to mercurial/helptext/bundlespec.txt
1 NO CONTENT: file renamed from mercurial/help/color.txt to mercurial/helptext/color.txt
NO CONTENT: file renamed from mercurial/help/color.txt to mercurial/helptext/color.txt
1 NO CONTENT: file renamed from mercurial/help/common.txt to mercurial/helptext/common.txt
NO CONTENT: file renamed from mercurial/help/common.txt to mercurial/helptext/common.txt
1 NO CONTENT: file renamed from mercurial/help/config.txt to mercurial/helptext/config.txt
NO CONTENT: file renamed from mercurial/help/config.txt to mercurial/helptext/config.txt
1 NO CONTENT: file renamed from mercurial/help/dates.txt to mercurial/helptext/dates.txt
NO CONTENT: file renamed from mercurial/help/dates.txt to mercurial/helptext/dates.txt
1 NO CONTENT: file renamed from mercurial/help/deprecated.txt to mercurial/helptext/deprecated.txt
NO CONTENT: file renamed from mercurial/help/deprecated.txt to mercurial/helptext/deprecated.txt
1 NO CONTENT: file renamed from mercurial/help/diffs.txt to mercurial/helptext/diffs.txt
NO CONTENT: file renamed from mercurial/help/diffs.txt to mercurial/helptext/diffs.txt
1 NO CONTENT: file renamed from mercurial/help/environment.txt to mercurial/helptext/environment.txt
NO CONTENT: file renamed from mercurial/help/environment.txt to mercurial/helptext/environment.txt
1 NO CONTENT: file renamed from mercurial/help/extensions.txt to mercurial/helptext/extensions.txt
NO CONTENT: file renamed from mercurial/help/extensions.txt to mercurial/helptext/extensions.txt
1 NO CONTENT: file renamed from mercurial/help/filesets.txt to mercurial/helptext/filesets.txt
NO CONTENT: file renamed from mercurial/help/filesets.txt to mercurial/helptext/filesets.txt
1 NO CONTENT: file renamed from mercurial/help/flags.txt to mercurial/helptext/flags.txt
NO CONTENT: file renamed from mercurial/help/flags.txt to mercurial/helptext/flags.txt
1 NO CONTENT: file renamed from mercurial/help/glossary.txt to mercurial/helptext/glossary.txt
NO CONTENT: file renamed from mercurial/help/glossary.txt to mercurial/helptext/glossary.txt
1 NO CONTENT: file renamed from mercurial/help/hg-ssh.8.txt to mercurial/helptext/hg-ssh.8.txt
NO CONTENT: file renamed from mercurial/help/hg-ssh.8.txt to mercurial/helptext/hg-ssh.8.txt
1 NO CONTENT: file renamed from mercurial/help/hg.1.txt to mercurial/helptext/hg.1.txt
NO CONTENT: file renamed from mercurial/help/hg.1.txt to mercurial/helptext/hg.1.txt
1 NO CONTENT: file renamed from mercurial/help/hgignore.5.txt to mercurial/helptext/hgignore.5.txt
NO CONTENT: file renamed from mercurial/help/hgignore.5.txt to mercurial/helptext/hgignore.5.txt
1 NO CONTENT: file renamed from mercurial/help/hgignore.txt to mercurial/helptext/hgignore.txt
NO CONTENT: file renamed from mercurial/help/hgignore.txt to mercurial/helptext/hgignore.txt
1 NO CONTENT: file renamed from mercurial/help/hgrc.5.txt to mercurial/helptext/hgrc.5.txt
NO CONTENT: file renamed from mercurial/help/hgrc.5.txt to mercurial/helptext/hgrc.5.txt
1 NO CONTENT: file renamed from mercurial/help/hgweb.txt to mercurial/helptext/hgweb.txt
NO CONTENT: file renamed from mercurial/help/hgweb.txt to mercurial/helptext/hgweb.txt
1 NO CONTENT: file renamed from mercurial/help/internals/bundle2.txt to mercurial/helptext/internals/bundle2.txt
NO CONTENT: file renamed from mercurial/help/internals/bundle2.txt to mercurial/helptext/internals/bundle2.txt
1 NO CONTENT: file renamed from mercurial/help/internals/bundles.txt to mercurial/helptext/internals/bundles.txt
NO CONTENT: file renamed from mercurial/help/internals/bundles.txt to mercurial/helptext/internals/bundles.txt
1 NO CONTENT: file renamed from mercurial/help/internals/cbor.txt to mercurial/helptext/internals/cbor.txt
NO CONTENT: file renamed from mercurial/help/internals/cbor.txt to mercurial/helptext/internals/cbor.txt
1 NO CONTENT: file renamed from mercurial/help/internals/censor.txt to mercurial/helptext/internals/censor.txt
NO CONTENT: file renamed from mercurial/help/internals/censor.txt to mercurial/helptext/internals/censor.txt
1 NO CONTENT: file renamed from mercurial/help/internals/changegroups.txt to mercurial/helptext/internals/changegroups.txt
NO CONTENT: file renamed from mercurial/help/internals/changegroups.txt to mercurial/helptext/internals/changegroups.txt
1 NO CONTENT: file renamed from mercurial/help/internals/config.txt to mercurial/helptext/internals/config.txt
NO CONTENT: file renamed from mercurial/help/internals/config.txt to mercurial/helptext/internals/config.txt
1 NO CONTENT: file renamed from mercurial/help/internals/extensions.txt to mercurial/helptext/internals/extensions.txt
NO CONTENT: file renamed from mercurial/help/internals/extensions.txt to mercurial/helptext/internals/extensions.txt
1 NO CONTENT: file renamed from mercurial/help/internals/linelog.txt to mercurial/helptext/internals/linelog.txt
NO CONTENT: file renamed from mercurial/help/internals/linelog.txt to mercurial/helptext/internals/linelog.txt
1 NO CONTENT: file renamed from mercurial/help/internals/mergestate.txt to mercurial/helptext/internals/mergestate.txt
NO CONTENT: file renamed from mercurial/help/internals/mergestate.txt to mercurial/helptext/internals/mergestate.txt
1 NO CONTENT: file renamed from mercurial/help/internals/requirements.txt to mercurial/helptext/internals/requirements.txt
NO CONTENT: file renamed from mercurial/help/internals/requirements.txt to mercurial/helptext/internals/requirements.txt
1 NO CONTENT: file renamed from mercurial/help/internals/revlogs.txt to mercurial/helptext/internals/revlogs.txt
NO CONTENT: file renamed from mercurial/help/internals/revlogs.txt to mercurial/helptext/internals/revlogs.txt
1 NO CONTENT: file renamed from mercurial/help/internals/wireprotocol.txt to mercurial/helptext/internals/wireprotocol.txt
NO CONTENT: file renamed from mercurial/help/internals/wireprotocol.txt to mercurial/helptext/internals/wireprotocol.txt
1 NO CONTENT: file renamed from mercurial/help/internals/wireprotocolrpc.txt to mercurial/helptext/internals/wireprotocolrpc.txt
NO CONTENT: file renamed from mercurial/help/internals/wireprotocolrpc.txt to mercurial/helptext/internals/wireprotocolrpc.txt
1 NO CONTENT: file renamed from mercurial/help/internals/wireprotocolv2.txt to mercurial/helptext/internals/wireprotocolv2.txt
NO CONTENT: file renamed from mercurial/help/internals/wireprotocolv2.txt to mercurial/helptext/internals/wireprotocolv2.txt
1 NO CONTENT: file renamed from mercurial/help/merge-tools.txt to mercurial/helptext/merge-tools.txt
NO CONTENT: file renamed from mercurial/help/merge-tools.txt to mercurial/helptext/merge-tools.txt
1 NO CONTENT: file renamed from mercurial/help/pager.txt to mercurial/helptext/pager.txt
NO CONTENT: file renamed from mercurial/help/pager.txt to mercurial/helptext/pager.txt
1 NO CONTENT: file renamed from mercurial/help/patterns.txt to mercurial/helptext/patterns.txt
NO CONTENT: file renamed from mercurial/help/patterns.txt to mercurial/helptext/patterns.txt
1 NO CONTENT: file renamed from mercurial/help/phases.txt to mercurial/helptext/phases.txt
NO CONTENT: file renamed from mercurial/help/phases.txt to mercurial/helptext/phases.txt
1 NO CONTENT: file renamed from mercurial/help/revisions.txt to mercurial/helptext/revisions.txt
NO CONTENT: file renamed from mercurial/help/revisions.txt to mercurial/helptext/revisions.txt
1 NO CONTENT: file renamed from mercurial/help/scripting.txt to mercurial/helptext/scripting.txt
NO CONTENT: file renamed from mercurial/help/scripting.txt to mercurial/helptext/scripting.txt
1 NO CONTENT: file renamed from mercurial/help/subrepos.txt to mercurial/helptext/subrepos.txt
NO CONTENT: file renamed from mercurial/help/subrepos.txt to mercurial/helptext/subrepos.txt
1 NO CONTENT: file renamed from mercurial/help/templates.txt to mercurial/helptext/templates.txt
NO CONTENT: file renamed from mercurial/help/templates.txt to mercurial/helptext/templates.txt
1 NO CONTENT: file renamed from mercurial/help/urls.txt to mercurial/helptext/urls.txt
NO CONTENT: file renamed from mercurial/help/urls.txt to mercurial/helptext/urls.txt
@@ -1191,6 +1191,8 b' packages = ['
1191 'mercurial',
1191 'mercurial',
1192 'mercurial.cext',
1192 'mercurial.cext',
1193 'mercurial.cffi',
1193 'mercurial.cffi',
1194 'mercurial.helptext',
1195 'mercurial.helptext.internals',
1194 'mercurial.hgweb',
1196 'mercurial.hgweb',
1195 'mercurial.interfaces',
1197 'mercurial.interfaces',
1196 'mercurial.pure',
1198 'mercurial.pure',
@@ -1535,11 +1537,11 b" if os.name == 'nt':"
1535 packagedata = {
1537 packagedata = {
1536 'mercurial': [
1538 'mercurial': [
1537 'locale/*/LC_MESSAGES/hg.mo',
1539 'locale/*/LC_MESSAGES/hg.mo',
1538 'help/*.txt',
1539 'help/internals/*.txt',
1540 'default.d/*.rc',
1540 'default.d/*.rc',
1541 'dummycert.pem',
1541 'dummycert.pem',
1542 ]
1542 ],
1543 'mercurial.helptext': ['*.txt',],
1544 'mercurial.helptext.internals': ['*.txt',],
1543 }
1545 }
1544
1546
1545
1547
@@ -24,7 +24,7 b' Sanity check check-config.py'
24 > EOF
24 > EOF
25
25
26 $ cat > files << EOF
26 $ cat > files << EOF
27 > mercurial/help/config.txt
27 > mercurial/helptext/config.txt
28 > $TESTTMP/testfile.py
28 > $TESTTMP/testfile.py
29 > EOF
29 > EOF
30
30
General Comments 0
You need to be logged in to leave comments. Login now