##// END OF EJS Templates
bash_completion: make export fall back to tags when there's no mq patch applied
Alexis S. L. Carvalho -
r3481:13a9a213 default
parent child Browse files
Show More
@@ -193,7 +193,13 b' shopt -s extglob'
193 help)
193 help)
194 _hg_commands
194 _hg_commands
195 ;;
195 ;;
196 export|manifest|update)
196 export)
197 if _hg_ext_mq_patchlist qapplied && [ "${COMPREPLY[*]}" ]; then
198 return 0
199 fi
200 _hg_tags
201 ;;
202 manifest|update)
197 _hg_tags
203 _hg_tags
198 ;;
204 ;;
199 pull|push|outgoing|incoming)
205 pull|push|outgoing|incoming)
@@ -318,11 +324,6 b' complete -o bashdefault -o default -F _h'
318 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
324 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
319 }
325 }
320
326
321 _hg_cmd_export()
322 {
323 _hg_ext_mq_patchlist qapplied
324 }
325
326
327
327 # hbisect
328 # hbisect
328 _hg_cmd_bisect()
329 _hg_cmd_bisect()
General Comments 0
You need to be logged in to leave comments. Login now