Show More
@@ -245,10 +245,10 b' typeset -A _hg_cmd_globals' | |||
|
245 | 245 | _wanted files expl 'missing files' _multi_parts / status_files |
|
246 | 246 | } |
|
247 | 247 | |
|
248 |
_hg_ |
|
|
248 | _hg_committable() { | |
|
249 | 249 | typeset -a status_files |
|
250 | _hg_status m | |
|
251 | _wanted files expl 'modified files' _multi_parts / status_files | |
|
250 | _hg_status mar | |
|
251 | _wanted files expl 'modified, added or removed files' _multi_parts / status_files | |
|
252 | 252 | } |
|
253 | 253 | |
|
254 | 254 | _hg_resolve() { |
@@ -570,7 +570,7 b' typeset -A _hg_cmd_globals' | |||
|
570 | 570 | '(--user -u)'{-u+,--user=}'[record user as commiter]:user:' \ |
|
571 | 571 | '--amend[amend the parent of the working dir]' \ |
|
572 | 572 | '--close-branch[mark a branch as closed]' \ |
|
573 |
'*:file:_hg_ |
|
|
573 | '*:file:_hg_committable' | |
|
574 | 574 | } |
|
575 | 575 | |
|
576 | 576 | _hg_cmd_copy() { |
@@ -599,7 +599,7 b' typeset -A _hg_cmd_globals' | |||
|
599 | 599 | then |
|
600 | 600 | _hg_files |
|
601 | 601 | else |
|
602 |
_hg_ |
|
|
602 | _hg_committable | |
|
603 | 603 | fi |
|
604 | 604 | fi |
|
605 | 605 | } |
General Comments 0
You need to be logged in to leave comments.
Login now