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

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

Overview
Comment:Fix local declarations
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4ff73978a6ca81ccf9073bd6981d920073ee459d
User & Date: mwm 2011-02-24 03:57:17
Context
2011-02-24
06:56
Remove an unused variable. check-in: c7c5bd8cf8 user: mwm tags: trunk
03:57
Fix local declarations check-in: 4ff73978a6 user: mwm tags: trunk
03:56
Remove an unused (and broken) command check-in: f01ceeccad user: mwm tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to VCS_INFO_get_data_fossil.

1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
## vim:ft=zsh
## perforce support by: Phil Pennock
## Distributed under the same BSD-ish license as zsh itself.

# XXX: This soooo needs to be cached
setopt localoptions extendedglob
local fsbase a b
local change

local -A fsinfo
local -xA hook_com

${vcs_comm[cmd]} status | while IFS=: read a b; do fsinfo[${a//-/_}]="${b## #}"; done
fsbase=${vcs_comm[basedir]}
fshash=${fsinfo[checkout]%% *}
changed=${(Mk)fsinfo:#(ADDED|EDITED|DELETED|UPDATED)*}







|
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## vim:ft=zsh
## perforce support by: Phil Pennock
## Distributed under the same BSD-ish license as zsh itself.

# XXX: This soooo needs to be cached
setopt localoptions extendedglob
local fsbase a b
local change changed
local action merging
local -A fsinfo
local -xA hook_com

${vcs_comm[cmd]} status | while IFS=: read a b; do fsinfo[${a//-/_}]="${b## #}"; done
fsbase=${vcs_comm[basedir]}
fshash=${fsinfo[checkout]%% *}
changed=${(Mk)fsinfo:#(ADDED|EDITED|DELETED|UPDATED)*}