vcs_info
Check-in [4b3b8f3599]
Not logged in
Public Repositories
mwm's Repositories

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

Overview
Comment:Get the trunk name right if you have tags
Timelines: family | ancestors | descendants | both | trunk | r0.1
Files: files | file ages | folders
SHA1:4b3b8f3599bc12bcf959d7c75ca9443b79f2cda8
User & Date: mwm 2011-02-19 08:16:48
Context
2011-02-24
03:56
Remove an unused (and broken) command check-in: f01ceeccad user: mwm tags: trunk
2011-02-19
08:16
Get the trunk name right if you have tags check-in: 4b3b8f3599 user: mwm tags: trunk, r0.1
07:57
One last round of formatting cleanup, fix a few more typos. check-in: 38de85a4a4 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
    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