From dd3a749ce985891e9fb0b57f0e2c139aea12d3e6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 29 Sep 2008 08:33:12 +0000 Subject: unposted: VCS_Info p4 backend should restrict changes to #have --- Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 b/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 index 749d2ef4c..077306aa1 100644 --- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 +++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 @@ -15,7 +15,7 @@ local p4branch change # We'll use the latest change number to which the hierarchy from # here down is synced as the revision. # I suppose the following might be slow on a tortuous client view. -change="${${$(p4 changes -m 1 ...)##Change }%% *}" +change="${${$(p4 changes -m 1 ...\#have)##Change }%% *}" zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" branchformat p4branch || p4branch="%b:%r" zformat -f p4branch "${p4branch}" "b:${p4info[Client_name]}" \ -- cgit 1.4.1