Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 30243:7b7bd704adbd stable
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.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 01 Nov 2016 20:39:35 +0900 |
parents | 7b428b00a1d4 |
children | 27addd7e8eca |
comparison
equal
deleted
inserted
replaced
30242:389cbfe63586 | 30243:7b7bd704adbd |
---|---|
1518 | 1518 |
1519 Examples: | 1519 Examples: |
1520 | 1520 |
1521 - clone a remote repository to a new directory named hg/:: | 1521 - clone a remote repository to a new directory named hg/:: |
1522 | 1522 |
1523 hg clone http://selenic.com/hg | 1523 hg clone https://www.mercurial-scm.org/repo/hg/ |
1524 | 1524 |
1525 - create a lightweight local clone:: | 1525 - create a lightweight local clone:: |
1526 | 1526 |
1527 hg clone project/ project-feature/ | 1527 hg clone project/ project-feature/ |
1528 | 1528 |
1539 | 1539 |
1540 hg clone -r 04e544 experimental/ good/ | 1540 hg clone -r 04e544 experimental/ good/ |
1541 | 1541 |
1542 - clone (and track) a particular named branch:: | 1542 - clone (and track) a particular named branch:: |
1543 | 1543 |
1544 hg clone http://selenic.com/hg#stable | 1544 hg clone https://www.mercurial-scm.org/repo/hg/#stable |
1545 | 1545 |
1546 See :hg:`help urls` for details on specifying URLs. | 1546 See :hg:`help urls` for details on specifying URLs. |
1547 | 1547 |
1548 Returns 0 on success. | 1548 Returns 0 on success. |
1549 """ | 1549 """ |
4738 | 4738 |
4739 hg id -n -r 1.3 | 4739 hg id -n -r 1.3 |
4740 | 4740 |
4741 - check the most recent revision of a remote repository:: | 4741 - check the most recent revision of a remote repository:: |
4742 | 4742 |
4743 hg id -r tip http://selenic.com/hg/ | 4743 hg id -r tip https://www.mercurial-scm.org/repo/hg/ |
4744 | 4744 |
4745 See :hg:`log` for generating more information about specific revisions, | 4745 See :hg:`log` for generating more information about specific revisions, |
4746 including full hash identifiers. | 4746 including full hash identifiers. |
4747 | 4747 |
4748 Returns 0 if successful. | 4748 Returns 0 if successful. |
4941 | 4941 |
4942 hg import -s 80 http://example.com/bugfix.patch | 4942 hg import -s 80 http://example.com/bugfix.patch |
4943 | 4943 |
4944 - import a changeset from an hgweb server:: | 4944 - import a changeset from an hgweb server:: |
4945 | 4945 |
4946 hg import http://www.selenic.com/hg/rev/5ca8c111e9aa | 4946 hg import https://www.mercurial-scm.org/repo/hg/rev/5ca8c111e9aa |
4947 | 4947 |
4948 - import all the patches in an Unix-style mbox:: | 4948 - import all the patches in an Unix-style mbox:: |
4949 | 4949 |
4950 hg import incoming-patches.mbox | 4950 hg import incoming-patches.mbox |
4951 | 4951 |