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

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

Overview
Comment:Doc cleanup.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c6606f45f5713575060cb496815ca741722a33a6
User & Date: mwm 2011-02-19 07:50:26
Context
2011-02-19
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
07:45
Add working _get_data_fossil, and update README to match. check-in: 8b2ab08df7 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
<h2>Installation</h2>




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 muc the same as it is for any other VCS.



Revision print 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>

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