Debian Codegraph @

doc/man/hg-paths.1

raw
1 .TH HG PATHS "" "" ""
2 .SH NAME
3 hg paths \- show aliases for remote repositories
4 .\" Man page generated from reStructuredText.
5 .
6 .SH SYNOPSIS
7 .sp
8 .nf
9 .ft C
10 hg paths [NAME]
11 .ft P
12 .fi
13 .SH DESCRIPTION
14 .sp
15 Show definition of symbolic path name NAME. If no name is given,
16 show definition of all available names.
17 .sp
18 Option \-q/\-\-quiet suppresses all output when searching for NAME
19 and shows only the path names when listing all definitions.
20 .sp
21 Path names are defined in the [paths] section of your
22 configuration file and in \fB/etc/mercurial/hgrc\fP. If run inside a
23 repository, \fB.hg/hgrc\fP is used, too.
24 .sp
25 The path names \fBdefault\fP and \fBdefault\-push\fP have a special
26 meaning. When performing a push or pull operation, they are used
27 as fallbacks if no location is specified on the command\-line.
28 When \fBdefault\-push\fP is set, it will be used for push and
29 \fBdefault\fP will be used for pull; otherwise \fBdefault\fP is used
30 as the fallback for both. When cloning a repository, the clone
31 source is written as \fBdefault\fP in \fB.hg/hgrc\fP.
32 .IP Note
33 .
34 \fBdefault\fP and \fBdefault\-push\fP apply to all inbound (e.g.
35 \%\fBhg incoming\fP\:) and outbound (e.g. \%\fBhg outgoing\fP\:, \%\fBhg email\fP\:
36 and \%\fBhg bundle\fP\:) operations.
37 .RE
38 .sp
39 See \%\fBhg help urls\fP\: for more information.
40 .sp
41 Template:
42 .sp
43 The following keywords are supported. See also \%\fBhg help templates\fP\:.
44 .INDENT 0.0
45 .TP
46 .B name
47 .
48 String. Symbolic name of the path alias.
49 .TP
50 .B pushurl
51 .
52 String. URL for push operations.
53 .TP
54 .B url
55 .
56 String. URL or directory path for the other operations.
57 .UNINDENT
58 .sp
59 Returns 0 on success.
60 .SH OPTIONS
61 .INDENT 0.0
62 .TP
63 .BI \-T, \-\-template \ <TEMPLATE>
64 .
65 display with template
66 .UNINDENT
67 .\" Generated by docutils manpage writer.
68 .\"
69 .