mercurial/templates/monoblue/helptopics.tmpl
author Kostia Balytskyi <ikostia@fb.com>
Thu, 14 Dec 2017 14:31:57 +0000
changeset 35436 31d21309635b
parent 32759 265196cd7d7f
permissions -rw-r--r--
sshpeer: allow for additional environment passing to ssh exe We already have the ability to customize the ssh command line arguments, let's add the ability to customize its environment as well. Example use-case is ssh.exe from Git on Windows. If `HOME` enviroment variable is present and has some non-empty value, ssh.exe will try to access that location for some stuff (for example, it seems for resolving `~` in `.ssh/config`). Git for Windows seems to sometimess set this variable to the value of `/home/username` which probably works under Git Bash, but does not work in a native `cmd.exe` or `powershell`. Whatever the root cause, setting `HOME` to be an empty string heals things. Therefore, some distributors might want to set `sshenv.HOME=` in the configuration (seems less intrusive that forcing everyone to tweak their env). Test Plan: - rt Differential Revision: https://phab.mercurial-scm.org/D1683

{header}
    <title>Help: {title}</title>
    <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/>
    <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/>
</head>

<body>
<div id="container">
    <div class="page-header">
        <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / help</h1>

        {searchform}

        <ul class="page-nav">
            <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li>
            <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li>
            <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li>
            <li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>
            <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
            <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
            <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
            <li><a href="{url|urlescape}file{sessionvars%urlparameter}">files</a></li>
            {if(subindex,
              '<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>',
              '<li class="current">help</li>'
            )}
        </ul>
    </div>

    <h2 class="no-link no-border">help</h2>
    <table cellspacing="0">
    <tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
    {topics % helpentry}

    {if(earlycommands, '
    <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
    {earlycommands % helpentry}
    ')}

    {if(othercommands, '
    <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
    {othercommands % helpentry}
    ')}
    </table>

{footer}