1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 15:01:40 +02:00

unposted: VCS_Info p4 backend should restrict changes to #have

This commit is contained in:
Peter Stephenson 2008-09-29 08:33:12 +00:00
parent bf59efddfa
commit dd3a749ce9

View file

@ -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]}" \