[PATCH 2 of 2 website] frontpage: use example repo from mercurial-scm.org (RFC)

Anton Shestakov av6 at dwimlabs.net
Fri Jul 22 06:53:10 EDT 2016

# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1469184403 -28800
#      Fri Jul 22 18:46:43 2016 +0800
# Node ID 95f5144fec067e4e97750ae0ec526e857fb5748e
# Parent  93cf6f0032429fa38d7bd072e9cb4a7229a587cf
frontpage: use example repo from mercurial-scm.org (RFC)

The rendered result looks like this:

$ hg clone https://www.mercurial-

(It will be copied without any word breaks, the break is only visual.)

The actual repo doesn't exist yet, but really should already, because the first
thing new users will see when they try the old URL with 3.9-rc+ is a lengthy
error message that Mercurial "could not negotiate a common security protocol
(tls1.1+) with selenic.com..." Classy.

diff --git a/templates/frontpage.html b/templates/frontpage.html
--- a/templates/frontpage.html
+++ b/templates/frontpage.html
@@ -39,7 +39,7 @@
         <h3>Quick Start</h3>
         <p><em>Clone a project and push changes</em>
-<pre class="wrap">$ hg clone https://selenic.com/repo/hello
+<pre class="wrap">$ hg clone https://www.mercurial-scm.org/repo/hello
 $ cd hello
 $ (edit files)
 $ hg add (new files)

More information about the Mercurial-devel mailing list