vcs_info
Check-in [253b2550d0]
Not logged in
Public Repositories
mwm's Repositories

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Some whitespace changes for readability
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:253b2550d0f5dc47251e0e2ae6261b853e924eb2
User & Date: mwm 2011-02-24 07:56:15
Context
2011-03-21
17:01
Version to be bundled with zsh. check-in: 3861bf82b4 user: mwm tags: trunk
2011-02-24
07:56
Some whitespace changes for readability check-in: 253b2550d0 user: mwm tags: trunk
06:56
Remove an unused variable. check-in: c7c5bd8cf8 user: mwm tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to VCS_INFO_get_data_fossil.

29
30
31
32
33
34
35

36

37
38
39
40
41

42

43
44
    fsrev=${hook_com[rev-replace]}
fi

hook_com=()

# Now build the branch display
zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" branchformat fsbranch || fsbranch="%b:%r"

hook_com=( branch "${fsinfo[tags]%%, *}" revision "${fsrev}" )

if VCS_INFO_hook 'set-branch-format' "${fsbranch}"; then
    zformat -f fsbranch "${fsbranch}" "b:${hook_com[branch]}" "r:${hook_com[revision]}"
else
    fsbranch=${hook_com[branch-replace]}
fi

hook_com=()

VCS_INFO_formats "$action" "${fsbranch}" "${fsinfo[local_root]}" '' "$changed" "${fsrev}" "${fsinfo[repository]}"
return 0







>

>





>

>


29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    fsrev=${hook_com[rev-replace]}
fi

hook_com=()

# Now build the branch display
zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" branchformat fsbranch || fsbranch="%b:%r"

hook_com=( branch "${fsinfo[tags]%%, *}" revision "${fsrev}" )

if VCS_INFO_hook 'set-branch-format' "${fsbranch}"; then
    zformat -f fsbranch "${fsbranch}" "b:${hook_com[branch]}" "r:${hook_com[revision]}"
else
    fsbranch=${hook_com[branch-replace]}
fi

hook_com=()

VCS_INFO_formats "$action" "${fsbranch}" "${fsinfo[local_root]}" '' "$changed" "${fsrev}" "${fsinfo[repository]}"
return 0