about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2012-08-17 08:22:52 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2012-08-17 08:22:52 +0000
commit3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1 (patch)
treefc49a99a35e9f5d34cacd36151e3e535490ec1aa /Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
parent402e5fb2ab2250cbef67b623e5777791ac37d855 (diff)
downloadzsh-3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1.tar.gz
zsh-3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1.tar.xz
zsh-3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1.zip
Stepan Koltsov: vcs_info: %a to output number of all patches in (no)?patch-format styles
Diffstat (limited to 'Functions/VCS_Info/Backends/VCS_INFO_get_data_hg')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
index a1b87f59e..48e385c97 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
@@ -213,13 +213,13 @@ if zstyle -T ":vcs_info:${vcs}:${usercontext}:${rrn}" get-mq \
     fi
 
     hook_com=( applied "${applied_string}" unapplied "${unapplied_string}"
-               applied-n ${#mqpatches}     unapplied-n ${#mqunapplied}
+               applied-n ${#mqpatches}     unapplied-n ${#mqunapplied}     all-n ${#mqseries}
                guards "${guards_string}"   guards-n ${#mqguards} )
 
     if VCS_INFO_hook 'set-patch-format' ${qstring}; then
         zformat -f hgmqstring "${hgmqstring}" \
             "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \
-            "n:${#mqpatches}" "c:${#mqunapplied}" \
+            "n:${#mqpatches}" "c:${#mqunapplied}" "a:${#mqseries}" \
             "g:${hook_com[guards]}" "G:${#mqguards}"
     else
         hgmqstring=${hook_com[patch-replace]}