vcs_info
Check-in [0372c81c03]
Not logged in
Public Repositories
mwm's Repositories

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

Overview
Comment:Finish instruction (hah) on running on 4.3.10, more formatting cleanup.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0372c81c0311a8c22ed9b633a72feed0c6400d9e
User & Date: mwm 2011-02-19 07:55:15
Context
2011-02-19
07:57
One last round of formatting cleanup, fix a few more typos. check-in: 38de85a4a4 user: mwm tags: trunk
07:55
Finish instruction (hah) on running on 4.3.10, more formatting cleanup. check-in: 0372c81c03 user: mwm tags: trunk
07:50
Doc cleanup. check-in: c6606f45f5 user: mwm tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.wiki.

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<h2>Installation</h2>

<b>Note:</b> This uses the vcs_info from the zshell version 4.3.11. If
you are running 4.3.10, you can download and install that



The VCS_INFO*fossil files should be copied to
<tt><prefix>/share/zsh/<version>/functions/VCS_Info/Backends</tt>.
<prefix> is probably either <tt>/usr/local</tt> or <tt>/usr</tt>,
depending on your system.  <version> can be found by doing <tt>zsh
--version</tt>.

Then, as root in the <tt><prefix>/share/zsh/<version>/functions</tt>

directory, run:

<pre><tt>setopt extendedglob nomark_dirs
zcompile -U -M VCS_Info.zwc VCS_Info/*~*.zwc(^/)
</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
<tt>branchformat</tt>) is the first 10 digits of the artifact id by
default. You can change this by setting the fsrevformat variable like
so:

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

<tt>h</tt> is the only valid format character. Change <tt><max></tt>
to the number of digits you want to display. As state, 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
<tt>fossil status</tt> 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.





|
>
>


|

|
|

<
>












|
|
|

|

|






|
|








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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<h2>Installation</h2>

<b>Note:</b> This uses the vcs_info from the zshell version 4.3.11. If
you are running 4.3.10, you can copy the vcs_info software
from the 4.3.11 distribution of zsh and install that in place of what
was shipped with 4.3.10.

The VCS_INFO*fossil files should be copied to
<tt><var>prefix</var>/share/zsh/<var>version</var>/functions/VCS_Info/Backends</tt>.
<prefix> is probably either <tt>/usr/local</tt> or <tt>/usr</tt>,
depending on your system.  <var>version</var> can be found by running
<tt>zsh --version</tt>.


Then, as root in the <tt><var>prefix</var>/share/zsh/<var>version</var>>/functions</tt>
directory, run:

<pre><tt>setopt extendedglob nomark_dirs
zcompile -U -M VCS_Info.zwc VCS_Info/*~*.zwc(^/)
</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 state, 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.