Patchwork [1,of,4,STABLE] help: replace selenic.com by mercurial-scm.org in command examples

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Nov. 1, 2016, 11:47 a.m.
Message ID <d9fd3d3b1233c6d42001.1478000851@feefifofum>
Download mbox | patch
Permalink /patch/17238/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Nov. 1, 2016, 11:47 a.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1478000375 -32400
#      Tue Nov 01 20:39:35 2016 +0900
# Branch stable
# Node ID d9fd3d3b1233c6d420015f329906b9bed393d978
# Parent  cac4ca036dff882c71f48f3130b72597d3e1fc64
help: replace selenic.com by mercurial-scm.org in command examples

Source code repository service of Mercurial itself has been already
migrated to mercurial-scm.org domain.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1520,7 +1520,7 @@  def clone(ui, source, dest=None, **opts)
 
       - clone a remote repository to a new directory named hg/::
 
-          hg clone http://selenic.com/hg
+          hg clone https://www.mercurial-scm.org/repo/hg/
 
       - create a lightweight local clone::
 
@@ -1541,7 +1541,7 @@  def clone(ui, source, dest=None, **opts)
 
       - clone (and track) a particular named branch::
 
-          hg clone http://selenic.com/hg#stable
+          hg clone https://www.mercurial-scm.org/repo/hg/#stable
 
     See :hg:`help urls` for details on specifying URLs.
 
@@ -4740,7 +4740,7 @@  def identify(ui, repo, source=None, rev=
 
       - check the most recent revision of a remote repository::
 
-          hg id -r tip http://selenic.com/hg/
+          hg id -r tip https://www.mercurial-scm.org/repo/hg/
 
     See :hg:`log` for generating more information about specific revisions,
     including full hash identifiers.
@@ -4943,7 +4943,7 @@  def import_(ui, repo, patch1=None, *patc
 
       - import a changeset from an hgweb server::
 
-          hg import http://www.selenic.com/hg/rev/5ca8c111e9aa
+          hg import https://www.mercurial-scm.org/repo/hg/rev/5ca8c111e9aa
 
       - import all the patches in an Unix-style mbox::