/[CvsGraph]/cvsgraph/cvsgraph.conf.5
ViewVC logotype

Diff of /cvsgraph/cvsgraph.conf.5

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.13, Tue Feb 11 10:43:44 2003 UTC revision 1.14, Sun Mar 9 22:36:50 2003 UTC
# Line 98  Line 98 
98  by &#...; equivalents.  by &#...; equivalents.
99  .br  .br
100  For example: "%l[25]" will expand up to 25 characters of the log.  For example: "%l[25]" will expand up to 25 characters of the log.
101    .br
102    Note: This expansion is obsolete. Please use "%(%L%)"; see comment below.
103  .TP  .TP
104  %L  %L
105  Same as %l, but no html-entity translations are performed.  Same as %l, but no html-entity translations are performed.
# Line 107  Line 109 
109  .TP  .TP
110  %0..%9  %0..%9
111  command\-line argument \-0 .. \-9  command\-line argument \-0 .. \-9
112    .TP
113    %(...%)
114    HTMLize the string withing the parenthesis. This is usefull to prevent a
115    possible cross site scripting big when expanding tags into the map generation.
116    For an exploit, you need to have an attack on your cvs-server, or you need to
117    be a complete idiot to enter a tag with '<', '>' or '"' characters.
118    .br
119    Example: a string "%(%t%)", with tag \fB><script xxx="..."><\fR will expand to
120    \fB&gt;&lt;script xxx=&#34;...&#34;&gt;&lt;\fR and not into the execution of
121    a script.
122    .br
123    Note: This method is preferred to the %l expansion, because it is more
124    generic solution (i.e. use "%(%L%)" for log expansions).
125    
126  .LP  .LP
127  Fonts are numbered 0..4 (as defined in libgd) where  Fonts are numbered 0..4 (as defined in libgd) where
# Line 114  Line 129 
129  4 = giant.  4 = giant.
130    
131  .LP  .LP
132  Colors are a strings, similar to html\-type colors in the form  Colors are strings, similar to html\-type colors in the form
133  "#rrggbb" with parts written in hex, where rr = red (00..ff),  "#rrggbb" with parts written in hex, where rr = red (00..ff),
134  gg = green (00\-ff) and bb = blue (00\-ff).  gg = green (00\-ff) and bb = blue (00\-ff).
135    
# Line 222  Line 237 
237  .TP  .TP
238  \fBupside_down\fR \fIboolean\fR  \fBupside_down\fR \fIboolean\fR
239  Draw the entire tree upside down if set. I.e. highest revisions are  Draw the entire tree upside down if set. I.e. highest revisions are
240  at the top of the image. See also cvsgraph(1) option '\fB-u\fR'.  at the top of the image. See also \fBcvsgraph(1)\fR option '\fB-u\fR'.
241  .br  .br
242  Default is false.  Default is false.
243    
# Line 238  Line 253 
253  \fBstrip_untagged\fR \fIboolean\fR  \fBstrip_untagged\fR \fIboolean\fR
254  Ommit all revisions that do not have tags and are not a branchpoint. This  Ommit all revisions that do not have tags and are not a branchpoint. This
255  reduces the image-size, but can be confusing when looking for a specific  reduces the image-size, but can be confusing when looking for a specific
256  revision. See also cvsgraph(1) option '\fB-s\fR'.  revision. See also \fBcvsgraph(1)\fR option '\fB-s\fR'.
257  .br  .br
258  Default is false.  Default is false.
259    
# Line 246  Line 261 
261  \fBstrip_first_rev\fR \fIboolean\fR  \fBstrip_first_rev\fR \fIboolean\fR
262  Also ommit the first revision in a branch if it does not have tags and is not a  Also ommit the first revision in a branch if it does not have tags and is not a
263  branchpoint. This has only effect if \fBstrip_untagged\fR is set. See also  branchpoint. This has only effect if \fBstrip_untagged\fR is set. See also
264  cvsgraph(1) option '\fB-S\fR'.  \fBcvsgraph(1)\fR option '\fB-S\fR'.
265  .br  .br
266  Default is false.  Default is false.
267    
268  .TP  .TP
269  \fBauto_stretch\fR \fIboolean\fR  \fBauto_stretch\fR \fIboolean\fR
270  Try to stretch the inter\-revision spacing to move the trunks more to the left,  Try to stretch the inter\-revision spacing to move the trunks more to the left,
271  effectively reducing the image's size. See also cvsgraph(1) option '\fB-k\fR'.  effectively reducing the image's size. See also \fBcvsgraph(1)\fR option '\fB-k\fR'.
272  .br  .br
273  Default is false.  Default is false.
274    
# Line 421  Line 436 
436  Limit the number of tags in a revision box. Old trees tend to have some  Limit the number of tags in a revision box. Old trees tend to have some
437  revisions with extremely many tags attached, which would generate a huge  revisions with extremely many tags attached, which would generate a huge
438  revision box when drawn. Limiting the number is a fair solution. Note that tag  revision box when drawn. Limiting the number is a fair solution. Note that tag
439  sorting is not specified in the rcsfile(7), but cvs(1) will normally have the  sorting is not specified in the \fBrcsfile(7)\fR, but \fBcvs(1)\fR will
440  newest tags located before older ones. Therefore, limiting the number of tags  normally have the newest tags located before older ones. Therefore, limiting
441  would most likely only affect older tags to be stripped.  However, no  the number of tags would most likely only affect older tags to be stripped.
442  guarantees are given that a specific tag is present when the limit is imposed.  However, no guarantees are given that a specific tag is present when the limit
443  An ellispsis (...) is shown in the revision box when the number of tags got  is imposed. An ellispsis (...) is shown in the revision box when the number of
444  truncated.  tags got truncated.
445  .br  .br
446  Default is 0, meaning all tags shown.  Default is 0, meaning all tags shown.
447    
448  .TP  .TP
449    \fBmerge_color\fR \fIcolor\fR
450    The color of the lines to show merges.
451    .br
452    Default is black ("#000000").
453    
454    .TP
455    \fBmerge_front\fR \fIboolean\fR
456    The mergelines are drawn on top of the image if true. Otherwise, mergelines
457    are drawn underneath.
458    .br
459    Default is false.
460    
461    .TP
462    \fBmerge_nocase\fR \fIboolean\fR
463    Ignore the case in regex matching.
464    .br
465    Default is false.
466    
467    .TP
468    \fBmerge_from\fR \fIstring\fR
469    The \fBmerge_from\fR is an extended regular expression as described in
470    \fBregex(7)\fR and POSIX 1003.2 (see also Single Unix Specification at
471    http://www.opengroup.com ). The matching tags describe source revisions of
472    merges. Each match is subsequently used in a search for the destination tag as
473    described by the \fBmerge_to\fR parameter.
474    .br
475    Note: normal string rules apply. Therefore, all backslashes '\\' must be
476    escaped, e.g. "\\." must be written as "\\\\.".
477    .br
478    Example: merge_from = "^from_(.*)";
479    .br
480    Default is empty (no matching occurs).
481    
482    .TP
483    \fBmerge_to\fR \fIstring\fR
484    .br
485    The \fBmerge_to\fR is an extended regular expression with a twist. All
486    subexpressions from the \fBmerge_from\fR are expanded into \fBmerge_to\fR using
487    %[1-9] (in contrast to \\[1-9] for backreferences). Care is taken to escape
488    the constructed expression. A '$' at the end of the \fBmerge_to\fR expression
489    can be important to prevent 'near match' references. Normally, you want the
490    destination to be a good representation of the source. However, this depends
491    on how well you defined the tags in the first place.
492    .br
493    Example: merge_to = "^merge_%1$";
494    .br
495    Above example, combined with the merge_from example would match a tag
496    "from_BugFix_2002" to the merge-destination with tag "merge_BugFix_2002".
497    .br
498    Default is empty (no matching occurs).
499    
500    .TP
501  \fBbranch_font\fR \fInumber\fR  \fBbranch_font\fR \fInumber\fR
502  The font of the number in a branch box.  The font of the number in a branch box.
503  .br  .br

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0