Submitter | Anton Shestakov |
---|---|
Date | July 22, 2016, 10:53 a.m. |
Message ID | <95f5144fec067e4e9775.1469184790@neuro> |
Download | mbox | patch |
Permalink | /patch/15969/ |
State | Accepted |
Headers | show |
Comments
Anton Shestakov <av6@dwimlabs.net> writes: > # HG changeset patch > # User Anton Shestakov <av6@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- > scm.org/repo/hello > """ > > (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. Ha, nice. I've asked Kevin to create the repo and once that's done I'll push these patches.
Kevin Bullock <kbullock+mercurial@ringworld.org> writes: >> On Jul 22, 2016, at 14:20, Sean Farley <sean@farley.io> wrote: >> >> Anton Shestakov <av6@dwimlabs.net> writes: >> >>> # HG changeset patch >>> # User Anton Shestakov <av6@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- >>> scm.org/repo/hello >>> """ >>> >>> (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. >> >> Ha, nice. I've asked Kevin to create the repo and once that's done I'll >> push these patches. > > > Done: https://www.mercurial-scm.org/repo/hello/ <https://www.mercurial-scm.org/repo/hello/> Thanks! The patches are now queued :-)
Patch
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)