##// END OF EJS Templates
help: replace selenic.com by mercurial-scm.org in man pages...
FUJIWARA Katsunori -
r30244:4e934804 stable
parent child Browse files
Show More
@@ -1,71 +1,71 b''
1 1 ========
2 2 hg-ssh
3 3 ========
4 4
5 5 ----------------------------------------
6 6 restricted ssh login shell for Mercurial
7 7 ----------------------------------------
8 8
9 9 :Author: Thomas Arendsen Hein <thomas@intevation.de>
10 10 :Organization: Mercurial
11 11 :Manual section: 8
12 12 :Manual group: Mercurial Manual
13 13
14 14 .. contents::
15 15 :backlinks: top
16 16 :class: htmlonly
17 17 :depth: 1
18 18
19 19 Synopsis
20 20 """"""""
21 21 **hg-ssh** repositories...
22 22
23 23 Description
24 24 """""""""""
25 25 **hg-ssh** is a wrapper for ssh access to a limited set of mercurial repos.
26 26
27 27 To be used in ~/.ssh/authorized_keys with the "command" option, see sshd(8):
28 28 command="hg-ssh path/to/repo1 /path/to/repo2 ~/repo3 ~user/repo4" ssh-dss ...
29 29 (probably together with these other useful options:
30 30 no-port-forwarding,no-X11-forwarding,no-agent-forwarding)
31 31
32 32 This allows pull/push over ssh from/to the repositories given as arguments.
33 33
34 34 If all your repositories are subdirectories of a common directory, you can
35 35 allow shorter paths with:
36 36 command="cd path/to/my/repositories && hg-ssh repo1 subdir/repo2"
37 37
38 38 You can use pattern matching of your normal shell, e.g.:
39 39 command="cd repos && hg-ssh user/thomas/* projects/{mercurial,foo}"
40 40
41 41 You can also add a --read-only flag to allow read-only access to a key, e.g.:
42 42 command="hg-ssh --read-only repos/\*"
43 43
44 44 Bugs
45 45 """"
46 46 Probably lots, please post them to the mailing list (see Resources_
47 47 below) when you find them.
48 48
49 49 See Also
50 50 """"""""
51 51 |hg(1)|_
52 52
53 53 Author
54 54 """"""
55 55 Written by Matt Mackall <mpm@selenic.com>
56 56
57 57 Resources
58 58 """""""""
59 59 Main Web Site: https://mercurial-scm.org/
60 60
61 Source code repository: http://selenic.com/hg
61 Source code repository: https://www.mercurial-scm.org/repo/hg
62 62
63 Mailing list: http://selenic.com/mailman/listinfo/mercurial
63 Mailing list: https://www.mercurial-scm.org/mailman/listinfo/mercurial/
64 64
65 65 Copying
66 66 """""""
67 67 Copyright (C) 2005-2016 Matt Mackall.
68 68 Free use of this software is granted under the terms of the GNU General
69 69 Public License version 2 or any later version.
70 70
71 71 .. include:: common.txt
@@ -1,119 +1,119 b''
1 1 ====
2 2 hg
3 3 ====
4 4
5 5 ---------------------------------------
6 6 Mercurial source code management system
7 7 ---------------------------------------
8 8
9 9 :Author: Matt Mackall <mpm@selenic.com>
10 10 :Organization: Mercurial
11 11 :Manual section: 1
12 12 :Manual group: Mercurial Manual
13 13
14 14 .. contents::
15 15 :backlinks: top
16 16 :class: htmlonly
17 17 :depth: 1
18 18
19 19
20 20 Synopsis
21 21 """"""""
22 22 **hg** *command* [*option*]... [*argument*]...
23 23
24 24 Description
25 25 """""""""""
26 26 The **hg** command provides a command line interface to the Mercurial
27 27 system.
28 28
29 29 Command Elements
30 30 """"""""""""""""
31 31
32 32 files...
33 33 indicates one or more filename or relative path filenames; see
34 34 `File Name Patterns`_ for information on pattern matching
35 35
36 36 path
37 37 indicates a path on the local machine
38 38
39 39 revision
40 40 indicates a changeset which can be specified as a changeset
41 41 revision number, a tag, or a unique substring of the changeset
42 42 hash value
43 43
44 44 repository path
45 45 either the pathname of a local repository or the URI of a remote
46 46 repository.
47 47
48 48 .. include:: hg.1.gendoc.txt
49 49
50 50 Files
51 51 """""
52 52
53 53 ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc``
54 54 This file contains defaults and configuration. Values in
55 55 ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
56 56 settings made in the global ``/etc/mercurial/hgrc`` configuration.
57 57 See |hgrc(5)|_ for details of the contents and format of these
58 58 files.
59 59
60 60 ``.hgignore``
61 61 This file contains regular expressions (one per line) that
62 62 describe file names that should be ignored by **hg**. For details,
63 63 see |hgignore(5)|_.
64 64
65 65 ``.hgsub``
66 66 This file defines the locations of all subrepositories, and
67 67 tells where the subrepository checkouts came from. For details, see
68 68 :hg:`help subrepos`.
69 69
70 70 ``.hgsubstate``
71 71 This file is where Mercurial stores all nested repository states. *NB: This
72 72 file should not be edited manually.*
73 73
74 74 ``.hgtags``
75 75 This file contains changeset hash values and text tag names (one
76 76 of each separated by spaces) that correspond to tagged versions of
77 77 the repository contents. The file content is encoded using UTF-8.
78 78
79 79 ``.hg/last-message.txt``
80 80 This file is used by :hg:`commit` to store a backup of the commit message
81 81 in case the commit fails.
82 82
83 83 ``.hg/localtags``
84 84 This file can be used to define local tags which are not shared among
85 85 repositories. The file format is the same as for ``.hgtags``, but it is
86 86 encoded using the local system encoding.
87 87
88 88 Some commands (e.g. revert) produce backup files ending in ``.orig``,
89 89 if the ``.orig`` file already exists and is not tracked by Mercurial,
90 90 it will be overwritten.
91 91
92 92 Bugs
93 93 """"
94 94 Probably lots, please post them to the mailing list (see Resources_
95 95 below) when you find them.
96 96
97 97 See Also
98 98 """"""""
99 99 |hgignore(5)|_, |hgrc(5)|_
100 100
101 101 Author
102 102 """"""
103 103 Written by Matt Mackall <mpm@selenic.com>
104 104
105 105 Resources
106 106 """""""""
107 107 Main Web Site: https://mercurial-scm.org/
108 108
109 Source code repository: http://selenic.com/hg
109 Source code repository: https://www.mercurial-scm.org/repo/hg
110 110
111 Mailing list: http://selenic.com/mailman/listinfo/mercurial
111 Mailing list: https://www.mercurial-scm.org/mailman/listinfo/mercurial/
112 112
113 113 Copying
114 114 """""""
115 115 Copyright (C) 2005-2016 Matt Mackall.
116 116 Free use of this software is granted under the terms of the GNU General
117 117 Public License version 2 or any later version.
118 118
119 119 .. include:: common.txt
General Comments 0
You need to be logged in to leave comments. Login now