mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 23:41:31 +01:00
Simon Ruderich: 27779: Fix mistakes in vcs_info's documentation.
This commit is contained in:
parent
00e507fc0e
commit
ff22b24f1b
3 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-03-11 Frank Terbeck <ft@bewatermyfriend.org>
|
||||
|
||||
* Simon Ruderich: 27779: Functions/VCS_Info/vcs_info_printsys,
|
||||
Doc/Zsh/contrib.yo: Fix mistakes in vcs_info's documentation.
|
||||
|
||||
2010-03-09 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Doc/Zsh/calsys.yo, Functions/Calendar/calendar,
|
||||
|
@ -12877,5 +12882,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4926 $
|
||||
* $Revision: 1.4927 $
|
||||
*****************************************************
|
||||
|
|
|
@ -389,7 +389,7 @@ svn
|
|||
tla
|
||||
## flavours (cannot be used in the enable or disable styles; they
|
||||
## are enabled and disabled with their master [git-svn -> git])
|
||||
## they *can* be used contexts: ':vcs_info:git-svn:*'.
|
||||
## they *can* be used in contexts: ':vcs_info:git-svn:*'.
|
||||
git-p4
|
||||
git-svn)
|
||||
|
||||
|
@ -476,7 +476,7 @@ kindex(branchformat)
|
|||
item(tt(branchformat))(
|
||||
Some backends replace var(%b) in the formats and
|
||||
actionformats styles above, not only by a branch name but also by a
|
||||
revision number. This style let's you modify how that string should look
|
||||
revision number. This style lets you modify how that string should look
|
||||
like.
|
||||
)
|
||||
kindex(nvcsformats)
|
||||
|
@ -491,7 +491,7 @@ kindex(stgitformat)
|
|||
item(tt(stgitformat))(
|
||||
The tt(git) backend replaces var(%m) in the formats and
|
||||
actionformats styles with tt(stgit)-specific information for
|
||||
tt(stgit)-initialized branches. This style let's you modify how that string
|
||||
tt(stgit)-initialized branches. This style lets you modify how that string
|
||||
should look like.
|
||||
)
|
||||
kindex(hgrevformat)
|
||||
|
@ -503,7 +503,7 @@ useful when var(get-revision) is true.
|
|||
)
|
||||
kindex(max-exports)
|
||||
item(tt(max-exports))(
|
||||
Defines the maximum number if
|
||||
Defines the maximum number of
|
||||
var(vcs_info_msg_*_) variables var(vcs_info) will export.
|
||||
)
|
||||
kindex(enable)
|
||||
|
@ -676,7 +676,7 @@ sitem(tt(%R))(base directory of the repository.)
|
|||
sitem(tt(%r))(repository name. If tt(%R) is var(/foo/bar/repoXY), tt(%r) is
|
||||
var(repoXY).)
|
||||
sitem(tt(%S))(subdirectory within a repository. If tt($PWD) is
|
||||
var(/foo/bar/reposXY/beer/tasty), tt(%S) is var(beer/tasty).)
|
||||
var(/foo/bar/repoXY/beer/tasty), tt(%S) is var(beer/tasty).)
|
||||
sitem(tt(%m))(A "misc" replacement. It is at the discretion of the backend
|
||||
to decide what this replacement expands to. It is currently used by
|
||||
the tt(hg) and tt(git) backends. The tt(hg) backend replaces tt(%m) with the
|
||||
|
|
|
@ -37,7 +37,7 @@ done
|
|||
|
||||
print -l '## flavours (cannot be used in the enable or disable styles; they' \
|
||||
'## are enabled and disabled with their master [git-svn -> git])' \
|
||||
'## they *can* be used contexts: '\'':vcs_info:git-svn:*'\''.'
|
||||
'## they *can* be used in contexts: '\'':vcs_info:git-svn:*'\''.'
|
||||
|
||||
for sys in ${VCS_INFO_backends} ; do
|
||||
VCS_INFO_detect_${sys} --flavours
|
||||
|
|
Loading…
Reference in a new issue