1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.scm.provider.hg.command;
20
21
22
23
24
25
26
27
28
29 public final class HgCommandConstants {
30
31 private HgCommandConstants() {
32
33 }
34
35
36
37
38 public static final String EXEC = "hg";
39
40
41
42
43 public static final String INIT_CMD = "init";
44
45
46
47
48 public static final String ADD_CMD = "add";
49
50
51
52
53 public static final String STATUS_CMD = "status";
54
55
56
57
58 public static final String REMOVE_CMD = "remove";
59
60
61
62
63 public static final String CLONE_CMD = "clone";
64
65
66
67
68 public static final String BRANCH_CMD = "branch";
69
70
71
72
73 public static final String COMMIT_CMD = "commit";
74
75
76
77
78 public static final String UPDATE_CMD = "update";
79
80
81
82
83 public static final String PULL_CMD = "pull";
84
85
86
87
88 public static final String LOG_CMD = "log";
89
90
91
92
93 public static final String DIFF_CMD = "diff";
94
95
96
97
98 public static final String PUSH_CMD = "push";
99
100
101
102
103 public static final String REVNO_CMD = "id";
104
105
106
107
108 public static final String TAG_CMD = "tag";
109
110
111
112
113 public static final String INVENTORY_CMD = "locate";
114
115
116
117
118 public static final String OUTGOING_CMD = "outgoing";
119
120
121
122
123 public static final String BRANCH_NAME_CMD = "branch";
124
125
126
127
128 public static final String NO_RECURSE_OPTION = "";
129
130 public static final String MESSAGE_OPTION = "--message";
131
132 public static final String REVISION_OPTION = "-r";
133
134 public static final String DATE_OPTION = "--date";
135
136 public static final String VERBOSE_OPTION = "--verbose";
137
138 public static final String NO_MERGES_OPTION = "--no-merges";
139
140 public static final String VERSION = "version";
141
142 public static final String CHECK = "check";
143
144 public static final String ALL_OPTION = "-A";
145
146 public static final String NEW_BRANCH_OPTION = "--new-branch";
147
148 public static final String CLEAN_OPTION = "-c";
149
150 public static final String TEMPLATE_OPTION = "--template";
151
152
153
154
155 public static final String LIMIT_OPTION = "--limit";
156
157
158
159
160
161
162 public static final String TEMPLATE_FORMAT =
163 "changeset: {rev}:{node|short}\\nbranch: {branch}\\nuser: {author}\\n"
164 + "date: {date|isodatesec}\\ntag: {tags}\\nfiles: {files}\\ndescription:\\n{desc}\\n";
165 }