comparison resources/hg_usage.vim @ 15:f02e37f395ae

Added ability to add files from the `hg status` window. Added ability to refresh the `hg status` window. Added generation of `hg` commands usage, and used that for a better `:Hg` auto-completion.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Dec 2011 17:09:37 -0800
parents
children 8ad46beaa94e
comparison
equal deleted inserted replaced
14:eab2680e6818 15:f02e37f395ae
1 " LAWRENCIUM - MERCURIAL USAGE
2 " This file is generated automatically.
3
4 let g:lawrencium_hg_options = [
5 \'-R',
6 \'--repository',
7 \'--cwd',
8 \'-y',
9 \'--noninteractive',
10 \'-q',
11 \'--quiet',
12 \'-v',
13 \'--verbose',
14 \'--config',
15 \'--debug',
16 \'--debugger',
17 \'--encoding',
18 \'--encodingmode',
19 \'--traceback',
20 \'--time',
21 \'--profile',
22 \'--version',
23 \'-h',
24 \'--help',
25 \]
26
27 let g:lawrencium_hg_commands = {
28 \'add': [
29 \'-I',
30 \'--include',
31 \'-X',
32 \'--exclude',
33 \'-S',
34 \'--subrepos',
35 \'-n',
36 \'--dry-run',
37 \],
38 \'addremove': [
39 \'-s',
40 \'--similarity',
41 \'-I',
42 \'--include',
43 \'-X',
44 \'--exclude',
45 \'-n',
46 \'--dry-run',
47 \],
48 \'annotate': [
49 \'-r',
50 \'--rev',
51 \'--follow',
52 \'--no-follow',
53 \'-a',
54 \'--text',
55 \'-u',
56 \'--user',
57 \'-f',
58 \'--file',
59 \'-d',
60 \'--date',
61 \'-n',
62 \'--number',
63 \'-c',
64 \'--changeset',
65 \'-l',
66 \'--line-number',
67 \'-I',
68 \'--include',
69 \'-X',
70 \'--exclude',
71 \],
72 \'archive': [
73 \'--no-decode',
74 \'-p',
75 \'--prefix',
76 \'-r',
77 \'--rev',
78 \'-t',
79 \'--type',
80 \'-S',
81 \'--subrepos',
82 \'-I',
83 \'--include',
84 \'-X',
85 \'--exclude',
86 \],
87 \'backout': [
88 \'--merge',
89 \'--parent',
90 \'-r',
91 \'--rev',
92 \'-t',
93 \'--tool',
94 \'-I',
95 \'--include',
96 \'-X',
97 \'--exclude',
98 \'-m',
99 \'--message',
100 \'-l',
101 \'--logfile',
102 \'-d',
103 \'--date',
104 \'-u',
105 \'--user',
106 \],
107 \'bisect': [
108 \'-r',
109 \'--reset',
110 \'-g',
111 \'--good',
112 \'-b',
113 \'--bad',
114 \'-s',
115 \'--skip',
116 \'-e',
117 \'--extend',
118 \'-c',
119 \'--command',
120 \'-U',
121 \'--noupdate',
122 \],
123 \'bookmarks': [
124 \'-f',
125 \'--force',
126 \'-r',
127 \'--rev',
128 \'-d',
129 \'--delete',
130 \'-m',
131 \'--rename',
132 \'-i',
133 \'--inactive',
134 \],
135 \'branch': [
136 \'-f',
137 \'--force',
138 \'-C',
139 \'--clean',
140 \],
141 \'branches': [
142 \'-a',
143 \'--active',
144 \'-c',
145 \'--closed',
146 \],
147 \'bundle': [
148 \'-f',
149 \'--force',
150 \'-r',
151 \'--rev',
152 \'-b',
153 \'--branch',
154 \'--base',
155 \'-a',
156 \'--all',
157 \'-t',
158 \'--type',
159 \'-e',
160 \'--ssh',
161 \'--remotecmd',
162 \'--insecure',
163 \],
164 \'cat': [
165 \'-o',
166 \'--output',
167 \'-r',
168 \'--rev',
169 \'--decode',
170 \'-I',
171 \'--include',
172 \'-X',
173 \'--exclude',
174 \],
175 \'clone': [
176 \'-U',
177 \'--noupdate',
178 \'-u',
179 \'--updaterev',
180 \'-r',
181 \'--rev',
182 \'-b',
183 \'--branch',
184 \'--pull',
185 \'--uncompressed',
186 \'-e',
187 \'--ssh',
188 \'--remotecmd',
189 \'--insecure',
190 \],
191 \'commit': [
192 \'-A',
193 \'--addremove',
194 \'--close-branch',
195 \'-I',
196 \'--include',
197 \'-X',
198 \'--exclude',
199 \'-m',
200 \'--message',
201 \'-l',
202 \'--logfile',
203 \'-d',
204 \'--date',
205 \'-u',
206 \'--user',
207 \'-S',
208 \'--subrepos',
209 \],
210 \'copy': [
211 \'-A',
212 \'--after',
213 \'-f',
214 \'--force',
215 \'-I',
216 \'--include',
217 \'-X',
218 \'--exclude',
219 \'-n',
220 \'--dry-run',
221 \],
222 \'diff': [
223 \'-r',
224 \'--rev',
225 \'-c',
226 \'--change',
227 \'-a',
228 \'--text',
229 \'-g',
230 \'--git',
231 \'--nodates',
232 \'-p',
233 \'--show-function',
234 \'--reverse',
235 \'-w',
236 \'--ignore-all-space',
237 \'-b',
238 \'--ignore-space-change',
239 \'-B',
240 \'--ignore-blank-lines',
241 \'-U',
242 \'--unified',
243 \'--stat',
244 \'-I',
245 \'--include',
246 \'-X',
247 \'--exclude',
248 \'-S',
249 \'--subrepos',
250 \],
251 \'export': [
252 \'-o',
253 \'--output',
254 \'--switch-parent',
255 \'-r',
256 \'--rev',
257 \'-a',
258 \'--text',
259 \'-g',
260 \'--git',
261 \'--nodates',
262 \],
263 \'forget': [
264 \'-I',
265 \'--include',
266 \'-X',
267 \'--exclude',
268 \],
269 \'graft': [
270 \'-c',
271 \'--continue',
272 \'-e',
273 \'--edit',
274 \'-D',
275 \'--currentdate',
276 \'-U',
277 \'--currentuser',
278 \'-d',
279 \'--date',
280 \'-u',
281 \'--user',
282 \'-t',
283 \'--tool',
284 \],
285 \'grep': [
286 \'-0',
287 \'--print0',
288 \'--all',
289 \'-a',
290 \'--text',
291 \'-f',
292 \'--follow',
293 \'-i',
294 \'--ignore-case',
295 \'-l',
296 \'--files-with-matches',
297 \'-n',
298 \'--line-number',
299 \'-r',
300 \'--rev',
301 \'-u',
302 \'--user',
303 \'-d',
304 \'--date',
305 \'-I',
306 \'--include',
307 \'-X',
308 \'--exclude',
309 \],
310 \'heads': [
311 \'-r',
312 \'--rev',
313 \'-t',
314 \'--topo',
315 \'-a',
316 \'--active',
317 \'-c',
318 \'--closed',
319 \'--style',
320 \'--template',
321 \],
322 \'help': [
323 \'-e',
324 \'--extension',
325 \'-c',
326 \'--command',
327 \],
328 \'identify': [
329 \'-r',
330 \'--rev',
331 \'-n',
332 \'--num',
333 \'-i',
334 \'--id',
335 \'-b',
336 \'--branch',
337 \'-t',
338 \'--tags',
339 \'-B',
340 \'--bookmarks',
341 \],
342 \'import': [
343 \'-p',
344 \'--strip',
345 \'-b',
346 \'--base',
347 \'-e',
348 \'--edit',
349 \'-f',
350 \'--force',
351 \'--no-commit',
352 \'--bypass',
353 \'--exact',
354 \'--import-branch',
355 \'-m',
356 \'--message',
357 \'-l',
358 \'--logfile',
359 \'-d',
360 \'--date',
361 \'-u',
362 \'--user',
363 \'-s',
364 \'--similarity',
365 \],
366 \'incoming': [
367 \'-f',
368 \'--force',
369 \'-n',
370 \'--newest-first',
371 \'--bundle',
372 \'-r',
373 \'--rev',
374 \'-B',
375 \'--bookmarks',
376 \'-b',
377 \'--branch',
378 \'-p',
379 \'--patch',
380 \'-g',
381 \'--git',
382 \'-l',
383 \'--limit',
384 \'-M',
385 \'--no-merges',
386 \'--stat',
387 \'--style',
388 \'--template',
389 \'-e',
390 \'--ssh',
391 \'--remotecmd',
392 \'--insecure',
393 \'-S',
394 \'--subrepos',
395 \],
396 \'init': [
397 \'-e',
398 \'--ssh',
399 \'--remotecmd',
400 \'--insecure',
401 \],
402 \'locate': [
403 \'-r',
404 \'--rev',
405 \'-0',
406 \'--print0',
407 \'-f',
408 \'--fullpath',
409 \'-I',
410 \'--include',
411 \'-X',
412 \'--exclude',
413 \],
414 \'log': [
415 \'-f',
416 \'--follow',
417 \'--follow-first',
418 \'-d',
419 \'--date',
420 \'-C',
421 \'--copies',
422 \'-k',
423 \'--keyword',
424 \'-r',
425 \'--rev',
426 \'--removed',
427 \'-m',
428 \'--only-merges',
429 \'-u',
430 \'--user',
431 \'--only-branch',
432 \'-b',
433 \'--branch',
434 \'-P',
435 \'--prune',
436 \'--hidden',
437 \'-p',
438 \'--patch',
439 \'-g',
440 \'--git',
441 \'-l',
442 \'--limit',
443 \'-M',
444 \'--no-merges',
445 \'--stat',
446 \'--style',
447 \'--template',
448 \'-I',
449 \'--include',
450 \'-X',
451 \'--exclude',
452 \],
453 \'manifest': [
454 \'-r',
455 \'--rev',
456 \'--all',
457 \],
458 \'merge': [
459 \'-f',
460 \'--force',
461 \'-r',
462 \'--rev',
463 \'-P',
464 \'--preview',
465 \'-t',
466 \'--tool',
467 \],
468 \'outgoing': [
469 \'-f',
470 \'--force',
471 \'-r',
472 \'--rev',
473 \'-n',
474 \'--newest-first',
475 \'-B',
476 \'--bookmarks',
477 \'-b',
478 \'--branch',
479 \'-p',
480 \'--patch',
481 \'-g',
482 \'--git',
483 \'-l',
484 \'--limit',
485 \'-M',
486 \'--no-merges',
487 \'--stat',
488 \'--style',
489 \'--template',
490 \'-e',
491 \'--ssh',
492 \'--remotecmd',
493 \'--insecure',
494 \'-S',
495 \'--subrepos',
496 \],
497 \'parents': [
498 \'-r',
499 \'--rev',
500 \'--style',
501 \'--template',
502 \],
503 \'paths': [
504 \],
505 \'pull': [
506 \'-u',
507 \'--update',
508 \'-f',
509 \'--force',
510 \'-r',
511 \'--rev',
512 \'-B',
513 \'--bookmark',
514 \'-b',
515 \'--branch',
516 \'-e',
517 \'--ssh',
518 \'--remotecmd',
519 \'--insecure',
520 \],
521 \'push': [
522 \'-f',
523 \'--force',
524 \'-r',
525 \'--rev',
526 \'-B',
527 \'--bookmark',
528 \'-b',
529 \'--branch',
530 \'--new-branch',
531 \'-e',
532 \'--ssh',
533 \'--remotecmd',
534 \'--insecure',
535 \],
536 \'recover': [
537 \],
538 \'remove': [
539 \'-A',
540 \'--after',
541 \'-f',
542 \'--force',
543 \'-I',
544 \'--include',
545 \'-X',
546 \'--exclude',
547 \],
548 \'rename': [
549 \'-A',
550 \'--after',
551 \'-f',
552 \'--force',
553 \'-I',
554 \'--include',
555 \'-X',
556 \'--exclude',
557 \'-n',
558 \'--dry-run',
559 \],
560 \'resolve': [
561 \'-a',
562 \'--all',
563 \'-l',
564 \'--list',
565 \'-m',
566 \'--mark',
567 \'-u',
568 \'--unmark',
569 \'-n',
570 \'--no-status',
571 \'-t',
572 \'--tool',
573 \'-I',
574 \'--include',
575 \'-X',
576 \'--exclude',
577 \],
578 \'revert': [
579 \'-a',
580 \'--all',
581 \'-d',
582 \'--date',
583 \'-r',
584 \'--rev',
585 \'-C',
586 \'--no-backup',
587 \'-I',
588 \'--include',
589 \'-X',
590 \'--exclude',
591 \'-n',
592 \'--dry-run',
593 \],
594 \'rollback': [
595 \'-n',
596 \'--dry-run',
597 \'-f',
598 \'--force',
599 \],
600 \'root': [
601 \],
602 \'serve': [
603 \'-A',
604 \'--accesslog',
605 \'-d',
606 \'--daemon',
607 \'--daemon-pipefds',
608 \'-E',
609 \'--errorlog',
610 \'-p',
611 \'--port',
612 \'-a',
613 \'--address',
614 \'--prefix',
615 \'-n',
616 \'--name',
617 \'--web-conf',
618 \'--webdir-conf',
619 \'--pid-file',
620 \'--stdio',
621 \'--cmdserver',
622 \'-t',
623 \'--templates',
624 \'--style',
625 \'-6',
626 \'--ipv6',
627 \'--certificate',
628 \],
629 \'showconfig': [
630 \'-u',
631 \'--untrusted',
632 \],
633 \'status': [
634 \'-A',
635 \'--all',
636 \'-m',
637 \'--modified',
638 \'-a',
639 \'--added',
640 \'-r',
641 \'--removed',
642 \'-d',
643 \'--deleted',
644 \'-c',
645 \'--clean',
646 \'-u',
647 \'--unknown',
648 \'-i',
649 \'--ignored',
650 \'-n',
651 \'--no-status',
652 \'-C',
653 \'--copies',
654 \'-0',
655 \'--print0',
656 \'--rev',
657 \'--change',
658 \'-I',
659 \'--include',
660 \'-X',
661 \'--exclude',
662 \'-S',
663 \'--subrepos',
664 \],
665 \'summary': [
666 \'--remote',
667 \],
668 \'tag': [
669 \'-f',
670 \'--force',
671 \'-l',
672 \'--local',
673 \'-r',
674 \'--rev',
675 \'--remove',
676 \'-e',
677 \'--edit',
678 \'-m',
679 \'--message',
680 \'-d',
681 \'--date',
682 \'-u',
683 \'--user',
684 \],
685 \'tags': [
686 \],
687 \'tip': [
688 \'-p',
689 \'--patch',
690 \'-g',
691 \'--git',
692 \'--style',
693 \'--template',
694 \],
695 \'unbundle': [
696 \'-u',
697 \'--update',
698 \],
699 \'update': [
700 \'-C',
701 \'--clean',
702 \'-c',
703 \'--check',
704 \'-d',
705 \'--date',
706 \'-r',
707 \'--rev',
708 \],
709 \'verify': [
710 \],
711 \'version': [
712 \],
713 \}
714