Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Version to be bundled with zsh. |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
3861bf82b4a4f5d5441e87f11d441b98 |
User & Date: | mwm 2011-03-21 17:01:46.151 |
Context
2011-03-21
| ||
17:04 | Update the wiki to reflect the new version. Leaf check-in: 3fe534d8e0 user: mwm tags: trunk | |
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 | |
Changes
Changes to VCS_INFO_get_data_fossil.
1 | ## vim:ft=zsh | | < < | | > > > > > < < < < < < < < < < < < < < < < < < < < < < < < < < | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## vim:ft=zsh ## fossil support by: Mike Meyer (mwm@mired.org) ## Distributed under the same BSD-ish license as zsh itself. # XXX: This soooo needs to be cached setopt localoptions extendedglob local a b local -A fsinfo local fshash fsbranch changed merging action ${vcs_comm[cmd]} status | while IFS=: read a b; do fsinfo[${a//-/_}]="${b## #}" done fshash=${fsinfo[checkout]%% *} fsbranch=${fsinfo[tags]%%, *} changed=${(Mk)fsinfo:#(ADDED|EDITED|DELETED|UPDATED)*} merging=${(Mk)fsinfo:#*_BY_MERGE*} if [ -n "$merging" ]; then action="merging" fi VCS_INFO_formats "$action" "${fsbranch}" "${fsinfo[local_root]}" '' "$changed" "${fshash}" "${fsinfo[repository]}" return 0 |