Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 67810d03ada515381702f7b70888f800 > files > 502

tortoisehg-4.9.1-1.mga7.noarch.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>10. Frequently Asked Questions &#8212; TortoiseHg 4.7.0 documentation</title>
    <link rel="stylesheet" href="_static/tortoisehg.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/language_data.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="11. Debugging" href="debugging.html" />
    <link rel="prev" title="9. Use with other VCS systems" href="nonhg.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <div class="section" id="frequently-asked-questions">
<h1>10. Frequently Asked Questions<a class="headerlink" href="#frequently-asked-questions" title="Permalink to this headline">¶</a></h1>
<p><em>What is TortoiseHg?</em></p>
<blockquote>
<div>A Windows shell extension for the Mercurial revision control system,
similar to the Tortoise clients for Subversion and CVS. It also
includes a thg application for command line use on many platforms.</div></blockquote>
<p><em>What comes included in the TortoiseHg binary installer for Windows?</em></p>
<blockquote>
<div><a class="reference external" href="https://www.mercurial-scm.org/wiki/">Mercurial</a>,
<a class="reference external" href="http://kdiff3.sourceforge.net/">kdiff3</a>,
<a class="reference external" href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/">TortoisePlink</a>
bonus extensions: hgfold, perfarce, mercurial-keyring.  fixfrozenexts,
python-svn for hgsubversion and convert extensions, and dulwich for
hg-git use.
See <code class="file docutils literal notranslate"><span class="pre">extension-versions.txt</span></code> in the TortoiseHg folder for more
details on the exact versions packaged.</div></blockquote>
<p><em>Is Mercurial on Windows compatible with the index service and virus scanners?</em></p>
<blockquote>
<div>No. Like TortoiseSVN, <a class="reference external" href="https://www.mercurial-scm.org/pipermail/mercurial/2010-January/029680.html">we recommend</a>
to turn off the indexing service on the working copies and repositories,
and exclude them from virus scans.</div></blockquote>
<p><em>How can I get translations for the Explorer context menu?</em></p>
<blockquote>
<div>The available translations were stored by the installer under
<code class="file docutils literal notranslate"><span class="pre">C:\Program</span> <span class="pre">Files\TortoiseHg\i18n\cmenu</span></code>.  Select the
locale you would like to use, double-click on it, and confirm all
requests.</div></blockquote>
<p><em>How do I do merges and arbitrary version checkouts?</em></p>
<blockquote>
<div>Merges and updates are intended to be done within the
<span class="guilabel">Workbench</span>, using changeset context menus</div></blockquote>
<p><em>Why can’t I connect to an ssh server (remote: bash: &lt;server name&gt;: command not found)?</em></p>
<blockquote>
<div>TortoisePlink (and basic Plink) will try to use the <span class="guilabel">Host
Name</span> configured in Putty under the <span class="guilabel">Default Settings</span>.
It adds this host name to its command line parameters, causing the
hostname to be specified twice, causing this particular error.
Clearing the host name from the <span class="guilabel">Default Settings</span> is a
possible workaround.</div></blockquote>
<p><em>How can I use tool X as my visual diff tool?</em></p>
<blockquote>
<div>Since version 1.0, TortoiseHg should autodetect most popular visual
diff tools and make them available for selection from the
<span class="guilabel">Visual Diff Tool</span> item in the settings tool.</div></blockquote>
<p><em>How is TortoiseHg configured?</em></p>
<blockquote>
<div><p>TortoiseHg gets configuration settings from two systems.</p>
<ol class="arabic simple">
<li><dl class="first docutils">
<dt>The Mercurial configuration system, which is three-tiered</dt>
<dd><ol class="first last loweralpha">
<li>Site-wide <code class="file docutils literal notranslate"><span class="pre">Mercurial.ini</span></code> in <code class="file docutils literal notranslate"><span class="pre">%ProgramFiles%\TortoiseHg</span></code></li>
<li>Per-User <code class="file docutils literal notranslate"><span class="pre">Mercurial.ini</span></code> in <code class="file docutils literal notranslate"><span class="pre">%UserProfile%</span></code></li>
<li>Per-Repository <code class="file docutils literal notranslate"><span class="pre">hgrc</span></code> in <code class="file docutils literal notranslate"><em><span class="pre">repo-root</span></em><span class="pre">\.hg</span></code></li>
</ol>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>The folder <code class="file docutils literal notranslate"><span class="pre">%APPDATA%\TortoiseHg</span></code>:</dt>
<dd><ol class="first last loweralpha">
<li>File <code class="file docutils literal notranslate"><span class="pre">thg-reporegistry.xml</span></code> holds the content of the RepoRegistry.</li>
<li>File <code class="file docutils literal notranslate"><span class="pre">TortoiseHgQt.ini</span></code> contains the settings for application state (window positions, etc).</li>
</ol>
</dd>
</dl>
</li>
</ol>
<p>These are some of the configurables that are stored in the Mercurial
configuration system.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">tortoisehg</span><span class="p">]</span>
<span class="n">vdiff</span> <span class="o">=</span> <span class="n">vdiff</span>
<span class="n">editor</span> <span class="o">=</span> <span class="n">gvim</span>
<span class="n">tabwidth</span> <span class="o">=</span> <span class="mi">4</span>
<span class="n">longsummary</span> <span class="o">=</span> <span class="kc">True</span>
<span class="n">authorcolor</span> <span class="o">=</span> <span class="kc">True</span>
<span class="n">authorcolor</span><span class="o">.</span><span class="n">steve</span> <span class="o">=</span> <span class="n">blue</span>
</pre></div>
</div>
</div></blockquote>
<p><em>Where do TortoiseHg extensions look for external Python modules on Windows?</em></p>
<blockquote>
<div><p>TortoiseHg includes an entire Python distribution bundled up as
DLLs. The standard library modules are all in the
<code class="file docutils literal notranslate"><span class="pre">library.zip</span></code> file in <code class="file docutils literal notranslate"><span class="pre">C:\Program</span> <span class="pre">Files\TortoiseHg</span></code>.</p>
<p>If you try to use an extension that imports a non-standard Python
module, you will find that the extension will fail to load because
it can’t find the module. For example the ReviewBoard extension
imports the simplejson module, which is not part of the standard
Python distribution.</p>
<p>In order to make it work you need to add a couple of lines to the
top of the extension’s .py file, before the line that imports the
foreign module:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">sys</span>
<span class="n">sys</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;C:\path\to\module&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p>Note that this will not work for modules distributed as .egg files;
the supplied path must contain the module’s .py or .pyc files.</p>
<p>If you have many extensions and/or hooks that all share the same
Python package, you can create an extension which explicitly
modifies sys.path for all the others.  Simply name the extension
such that it is loaded first (alphabetically).  Something like:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">extensions</span><span class="p">]</span>
<span class="mi">00</span><span class="n">setSysPath</span> <span class="o">=</span> <span class="n">C</span><span class="p">:</span>\<span class="n">path</span>\<span class="n">to</span>\<span class="n">setsyspath</span><span class="o">.</span><span class="n">py</span>
</pre></div>
</div>
</div></blockquote>
</div>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/thg_logo_92x50.png" alt="Logo"/>
            </a></p>
<h1 class="logo"><a href="index.html">TortoiseHg</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="preface.html">1. Preface</a></li>
<li class="toctree-l1"><a class="reference internal" href="intro.html">2. Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">3. What’s New</a></li>
<li class="toctree-l1"><a class="reference internal" href="quick.html">4. A Quick Start Guide to TortoiseHg</a></li>
<li class="toctree-l1"><a class="reference internal" href="daily.html">5. TortoiseHg in daily use</a></li>
<li class="toctree-l1"><a class="reference internal" href="settings.html">6. Settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="patches.html">7. Patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="extensions.html">8. Extensions</a></li>
<li class="toctree-l1"><a class="reference internal" href="nonhg.html">9. Use with other VCS systems</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">10. Frequently Asked Questions</a></li>
<li class="toctree-l1"><a class="reference internal" href="debugging.html">11. Debugging</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.html">Documentation overview</a><ul>
      <li>Previous: <a href="nonhg.html" title="previous chapter">9. Use with other VCS systems</a></li>
      <li>Next: <a href="debugging.html" title="next chapter">11. Debugging</a></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2010-2019, Steve Borho and others.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.4</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
      |
      <a href="_sources/faq.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>