[PATCH 5 of 5 website] templates: make current links to selenic.com use https

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Mar 23 14:27:38 EDT 2016



On 03/23/2016 11:25 AM, Sean Farley wrote:
>
> Anton Shestakov <av6 at dwimlabs.net> writes:
>
>> # HG changeset patch
>> # User Anton Shestakov <av6 at dwimlabs.net>
>> # Date 1458712884 -28800
>> #      Wed Mar 23 14:01:24 2016 +0800
>> # Node ID 81b1cc3de61957cb1b19fa785145563220432a75
>> # Parent  b7b72808bbb3febf32a8086044f8db7dab04a991
>> templates: make current links to selenic.com use https
>>
>> 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>$ hg clone http://selenic.com/repo/hello
>> +<pre>$ hg clone https://selenic.com/repo/hello
>>   $ cd hello
>>   $ (edit files)
>>   $ hg add (new files)
>> diff --git a/templates/quickstart/index.html b/templates/quickstart/index.html
>> --- a/templates/quickstart/index.html
>> +++ b/templates/quickstart/index.html
>> @@ -7,7 +7,7 @@
>>   <h2>Part 0: Instant usage</h2>
>>   <p><em>(you know this from the main page)</em></p>
>>   <p>Clone a project and create a patch </p>
>> -<pre><code>$ hg clone http://selenic.com/repo/hello
>> +<pre><code>$ hg clone https://selenic.com/repo/hello
>>   $ cd hello
>>   $ (edit files)
>>   $ hg add (new files)
>> diff --git a/templates/thepage/index.html b/templates/thepage/index.html
>> --- a/templates/thepage/index.html
>> +++ b/templates/thepage/index.html
>> @@ -26,7 +26,7 @@
>>   		<h2>License</h2>
>>   		This page is licensed under the terms of the
>>   		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a> of the license.
>> -		The <a href="http://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
>> +		The <a href="https://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
>
> Outside the scope of this patch but should we host this on mercurial-scm.org?

I would says so.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list