vcs_info
Check-in [3fe534d8e0]
Not logged in
Public Repositories
mwm's Repositories

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

Overview
Comment:Update the wiki to reflect the new version.
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1:3fe534d8e0712f8f20a1521a626612d25d6196be
User & Date: mwm 2011-03-21 17:04:59
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
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.wiki.

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41





42
43
44
45
46
47
48
49
</tt></pre>

<h2>Usage</h2>

Usage is pretty much the same as it is for any other backend for
vcs_info - see the zsh docs for information.

The displayed revision (<tt>%i</tt> or <tt>%r</tt> in
<var>branchformat</var>) is the first 10 digits of the artifact id by
default. You can change this by setting the <var>fsrevformat</var>
variable like so:

<tt>zstyle ':vcs_info:fossil:*' fsrevformat '%.<var><max></var>h'</tt>

<tt>h</tt> is the only valid format character. Change <var><max></var>
to the number of digits you want to display. As stated, the default
format is <tt>%.10h</tt>. Changing the format to <tt>'%h'</tt> will
print the entire artifact id (not recommended).  Open a ticket (see
below) if you think this should change.

The misc field (<tt>%m</tt>) is currently set to the
repository. Suggestions for alternatives are welcome (data from the
<tt>fossil status</tt> command preferred).






<h2>Bugs, complaints, suggestions, etc.</h2>

Best to
[https://chiselapp.com/user/mwm/repository/vcs_info/reportlist|open a
ticket] at the chiselapp repo for the software.









<
<
<
<
<
<
<
<
<
<
<
<
<



>
>
>
>
>








19
20
21
22
23
24
25













26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
</tt></pre>

<h2>Usage</h2>

Usage is pretty much the same as it is for any other backend for
vcs_info - see the zsh docs for information.














The misc field (<tt>%m</tt>) is currently set to the
repository. Suggestions for alternatives are welcome (data from the
<tt>fossil status</tt> command preferred).

Final note: if you're reading
[http://blog.mired.org/2011/02/adding-vcs-to-zshs-vcsinfo.html|my blog entry]
for this code, it's changed enough that the vcs_info config at the end
no longer works.

<h2>Bugs, complaints, suggestions, etc.</h2>

Best to
[https://chiselapp.com/user/mwm/repository/vcs_info/reportlist|open a
ticket] at the chiselapp repo for the software.