[PATCH stable] help: Backed out changeset e99facd2cd2a, description of file urls

Mads Kiilerich mads at kiilerich.com
Sun Nov 20 14:22:44 CST 2011


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1321576348 -3600
# Branch stable
# Node ID 9c18b9d21b29106ebcad77f1badb3ad1d371d860
# Parent  8b011ededfb2abe73f99996bd4ef4bc0b74dd78b
help: Backed out changeset e99facd2cd2a, description of file urls

This help entry didn't try to describe the 'localhost' notation. It described a
non-standard host-less notation where 'local' just was the first part of a
sample relative path. It describe "urls" with relative and absolute paths like:

  file://file.txt
  file:///tmp/file.txt
  file://c:/tmp/file.txt

diff --git a/mercurial/help/urls.txt b/mercurial/help/urls.txt
--- a/mercurial/help/urls.txt
+++ b/mercurial/help/urls.txt
@@ -1,7 +1,7 @@
 Valid URLs are of the form::
 
   local/filesystem/path[#revision]
-  file://localhost/filesystem/path[#revision]
+  file://local/filesystem/path[#revision]
   http://[user[:pass]@]host[:port]/[path][#revision]
   https://[user[:pass]@]host[:port]/[path][#revision]
   ssh://[user@]host[:port]/[path][#revision]


More information about the Mercurial-devel mailing list