/[cvs]/ccvs/doc/cvs.texinfo
ViewVC logotype

Diff of /ccvs/doc/cvs.texinfo

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

revision 1.668 by dprice, Thu Oct 6 20:08:23 2005 UTC revision 1.668.2.1 by dprice, Wed Oct 12 03:00:40 2005 UTC
# Line 2315  server.  For more on write proxies and s Line 2315  server.  For more on write proxies and s
2315    
2316  This method option first appeared in @sc{cvs} version 1.12.11 and is valid only  This method option first appeared in @sc{cvs} version 1.12.11 and is valid only
2317  as a modifcation to the @code{ext} connection method.  as a modifcation to the @code{ext} connection method.
2318    
2319    @item sign
2320    @itemx nosign
2321    Force OpenPGP signatures on or off.  @samp{sign} will cause the commit to abort
2322    if the server does not support OpenPGP signatures.  Without one of these
2323    options, CVS will autonegotiate signing, attempting to sign commits when the
2324    server supports it.  May be overridden by the @samp{--sign} and @samp{--nosign}
2325    commit options (@pxref{commit options}).
2326    
2327    @item sign-template=@var{template}
2328    Use @var{template} as the command line template to generate OpenPGP signatures.
2329    Format strings in this template are substituted before the commit is run:
2330    
2331    @table @code
2332    @item %t
2333    Substitute in the textmode flag (defaults to @samp{--textmode}) when a
2334    signature is being generated for a text file.
2335    
2336    @item %a
2337    Substitute in any @var{arg}s set via the @samp{--sign-arg} option or the
2338    CVSROOT sign-arg method option.
2339    
2340    @item %s
2341    Substitute the name of the file to generate a signature for.
2342    @end table
2343    
2344    This template should send the generated signature to its standard output.
2345    Overrides the @samp{sign-template} method optoin and defaults to something like
2346    @samp{/usr/bin/gpg --detach-sign --output - %t %a %s}.
2347  @end table  @end table
2348    
2349  As a further example, to combine both the @code{CVS_RSH} and @code{CVS_SERVER}  As a further example, to combine both the @code{CVS_RSH} and @code{CVS_SERVER}
# Line 9455  $ cvs checkout -D yesterday tc Line 9484  $ cvs checkout -D yesterday tc
9484    
9485  @itemize @bullet  @itemize @bullet
9486  @item  @item
9487  Synopsis: commit [-lnRf] [-m 'log_message' |  Synopsis: commit [-glnRf] [-m 'log_message' |
9488  -F file] [-r revision] [files@dots{}]  -F file] [-r revision] [--sign] [--sign-template @var{template}]
9489    [--sign-arg @var{arg}]@dots{} [files@dots{}]
9490  @item  @item
9491  Requires: working directory, repository.  Requires: working directory, repository.
9492  @item  @item
# Line 9575  use @samp{-f -R}. Line 9605  use @samp{-f -R}.
9605  @item -m @var{message}  @item -m @var{message}
9606  Use @var{message} as the log message, instead of  Use @var{message} as the log message, instead of
9607  invoking an editor.  invoking an editor.
9608    
9609    @item -g
9610    @itemx --sign
9611    @itemx --nosign
9612    Force OpenPGP signatures on or off.  @samp{-g} & @samp{--sign} will cause the
9613    commit to abort if the server does not support OpenPGP signatures.  Without one
9614    of these options, CVS will autonegotiate signing, attempting to sign commits
9615    when the server supports it.  Overrides the @samp{sign} and @samp{nosign}
9616    method options.
9617    
9618    @item --sign-template @var{template}
9619    Use @var{template} as the command line template to generate OpenPGP signatures.
9620    Format strings in this template are substituted before the commit is run:
9621    
9622    @table @code
9623    @item %t
9624    Substitute in the textmode flag (defaults to @samp{--textmode}) when a
9625    signature is being generated for a text file.
9626    
9627    @item %a
9628    Substitute in any @var{arg}s set via the @samp{--sign-arg} option or the
9629    CVSROOT sign-arg method option.
9630    
9631    @item %s
9632    Substitute the name of the file to generate a signature for.
9633    @end table
9634    
9635    This template should send the generated signature to its standard output.
9636    Overrides the @samp{sign-template} method optoin and defaults to something like
9637    @samp{/usr/bin/gpg --detach-sign --output - %t %a %s}.
9638  @end table  @end table
9639    
9640  @need 2000  @need 2000

Legend:
Removed from v.1.668  
changed lines
  Added in v.1.668.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26