Show More
@@ -328,6 +328,41 b' complete -o bashdefault -o default -F _h' | |||||
328 | COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur")) |
|
328 | COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur")) | |
329 | } |
|
329 | } | |
330 |
|
330 | |||
|
331 | _hg_cmd_qfold() | |||
|
332 | { | |||
|
333 | _hg_ext_mq_patchlist qunapplied | |||
|
334 | } | |||
|
335 | ||||
|
336 | _hg_cmd_qrename() | |||
|
337 | { | |||
|
338 | _hg_ext_mq_patchlist qseries | |||
|
339 | } | |||
|
340 | ||||
|
341 | _hg_cmd_qheader() | |||
|
342 | { | |||
|
343 | _hg_ext_mq_patchlist qseries | |||
|
344 | } | |||
|
345 | ||||
|
346 | _hg_cmd_qclone() | |||
|
347 | { | |||
|
348 | local count=$(_hg_count_non_option) | |||
|
349 | if [ $count = 1 ]; then | |||
|
350 | _hg_paths | |||
|
351 | fi | |||
|
352 | _hg_repos | |||
|
353 | } | |||
|
354 | ||||
|
355 | _hg_ext_mq_guards() | |||
|
356 | { | |||
|
357 | "$hg" qselect --series 2>/dev/null | sed -e 's/^.//' | |||
|
358 | } | |||
|
359 | ||||
|
360 | _hg_cmd_qselect() | |||
|
361 | { | |||
|
362 | local guards=$(_hg_ext_mq_guards) | |||
|
363 | COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$guards' -- "$cur")) | |||
|
364 | } | |||
|
365 | ||||
331 |
|
366 | |||
332 | # hbisect |
|
367 | # hbisect | |
333 | _hg_cmd_bisect() |
|
368 | _hg_cmd_bisect() |
General Comments 0
You need to be logged in to leave comments.
Login now