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