Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 2/4] vcs_info hg: Pass arguments to the set-patch-format hook.



---
 Functions/VCS_Info/Backends/VCS_INFO_get_data_hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
index c99452e..1b1ddcd 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg
@@ -211,7 +211,7 @@ if zstyle -T ":vcs_info:${vcs}:${usercontext}:${rrn}" get-mq \
 
     hook_com+=( guards "${guards_string}"   guards-n ${#mqguards} )
 
-    if VCS_INFO_hook 'set-patch-format' ${qstring}; then
+    if VCS_INFO_hook 'set-patch-format' ${hgmqstring}; then
         zformat -f hgmqstring "${hgmqstring}" \
             "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \
             "n:${#mqpatches}" "c:${#mqunapplied}" "a:${hook_com[all-n]}" \



Messages sorted by: Reverse Date, Date, Thread, Author