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