<!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="Content-Type" content="text/html; charset=utf-8" /> <title>URL Identifiers — Bazaar 2.6.0 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '2.6.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </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> <link rel="shortcut icon" href="../_static/bzr.ico"/> <link rel="top" title="Bazaar 2.6.0 documentation" href="../index.html" /> <link rel="up" title="Bazaar User Reference" href="index.html" /> <link rel="next" title="add" href="add-help.html" /> <link rel="prev" title="Special character handling in URLs" href="url-special-chars-help.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="add-help.html" title="add" accesskey="N">next</a></li> <li class="right" > <a href="url-special-chars-help.html" title="Special character handling in URLs" accesskey="P">previous</a> |</li> <li><a href="http://bazaar.canonical.com/"> <img src="../_static/bzr icon 16.png" /> Home</a> | </li> <a href="http://doc.bazaar.canonical.com/en/">Documentation</a> | </li> <li><a href="../index.html">Table of Contents (2.6.0)</a> »</li> <li><a href="index.html" accesskey="U">Bazaar User Reference</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="url-identifiers"> <h1>URL Identifiers<a class="headerlink" href="#url-identifiers" title="Permalink to this headline">ΒΆ</a></h1> <p>Supported URL prefixes:</p> <div class="highlight-python"><pre>aftp:// Access using active FTP. bzr:// Fast access using the Bazaar smart server. bzr+ssh:// Fast access using the Bazaar smart server over SSH. file:// Access using the standard filesystem (default) ftp:// Access using passive FTP. http:// Read-only access of branches exported on the web. https:// Read-only access of branches exported on the web using SSL. sftp:// Access using SFTP (most SSH servers provide SFTP).</pre> </div> <p>Supported modifiers:</p> <div class="highlight-python"><pre>gio+ Access using any GIO supported protocols.</pre> </div> <p>Bazaar supports all of the standard parts within the URL:</p> <div class="highlight-python"><pre><protocol>://[user[:password]@]host[:port]/[path]</pre> </div> <p>allowing URLs such as:</p> <div class="highlight-python"><pre>http://bzruser:BadPass@bzr.example.com:8080/bzr/trunk</pre> </div> <p>For bzr+ssh:// and sftp:// URLs, Bazaar also supports paths that begin with ‘~’ as meaning that the rest of the path should be interpreted relative to the remote user’s home directory. For example if the user <tt class="docutils literal"><span class="pre">remote</span></tt> has a home directory of <tt class="docutils literal"><span class="pre">/home/remote</span></tt> on the server shell.example.com, then:</p> <div class="highlight-python"><pre>bzr+ssh://remote@shell.example.com/~/myproject/trunk</pre> </div> <p>would refer to <tt class="docutils literal"><span class="pre">/home/remote/myproject/trunk</span></tt>.</p> <p>Many commands that accept URLs also accept location aliases too. See <a class="reference internal" href="location-alias-help.html"><em>Location aliases</em></a> and <a class="reference internal" href="url-special-chars-help.html"><em>Special character handling in URLs</em></a>.</p> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="url-special-chars-help.html" title="previous chapter">Special character handling in URLs</a></p> <h4>Next topic</h4> <p class="topless"><a href="add-help.html" title="next chapter">add</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/user-reference/urlspec-help.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <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> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="add-help.html" title="add" >next</a></li> <li class="right" > <a href="url-special-chars-help.html" title="Special character handling in URLs" >previous</a> |</li> <li><a href="http://bazaar.canonical.com/"> <img src="../_static/bzr icon 16.png" /> Home</a> | </li> <a href="http://doc.bazaar.canonical.com/en/">Documentation</a> | </li> <li><a href="../index.html">Table of Contents (2.6.0)</a> »</li> <li><a href="index.html" >Bazaar User Reference</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2011 Canonical Ltd. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>