/[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.658 by dprice, Tue Sep 6 00:46:11 2005 UTC revision 1.659 by dprice, Tue Sep 6 04:11:24 2005 UTC
# Line 8310  Current versions of @sc{cvs} do not run Line 8310  Current versions of @sc{cvs} do not run
8310  programs; for compatibility this option is accepted,  programs; for compatibility this option is accepted,
8311  but it does nothing.  but it does nothing.
8312    
8313  @cindex TMPDIR, overriding  @cindex TMPDIR, environment variable
8314  @cindex Overriding TMPDIR  @cindex temporary file directory, set via command line
8315    @cindex temporary file directory, set via environment variable
8316    @cindex temporary file directory, set via config
8317    @cindex temporary files, location of
8318  @item -T @var{tempdir}  @item -T @var{tempdir}
8319  Use @var{tempdir} as the directory where temporary files are  Use @var{tempdir} as the directory where temporary files are
8320  located.  Overrides the setting of the @code{$TMPDIR} environment  located.
8321  variable and any precompiled directory.  This parameter should be  
8322  specified as an absolute pathname.  The @sc{cvs} client and server store temporary files in a temporary directory.
8323  (When running client/server, @samp{-T} affects only the local process;  The path to this temporary directory is set via, in order of precedence:
8324    
8325    @itemize @bullet
8326    @item
8327    The argument to the global @samp{-T} option.
8328    
8329    @item
8330    The value set for @code{TmpDir} in the config file (server only -
8331    @pxref{config}).
8332    
8333    @item
8334    The contents of the @code{$TMPDIR} environment variable (@code{%TMPDIR%} on
8335    Windows - @pxref{Environment variables}).
8336    
8337    @item
8338    /tmp
8339    
8340    @end itemize
8341    
8342    Temporary directories should always be specified as an absolute pathname.
8343    When running a CVS client, @samp{-T} affects only the local process;
8344  specifying @samp{-T} for the client has no effect on the server and  specifying @samp{-T} for the client has no effect on the server and
8345  vice versa.)  vice versa.
8346    
8347  @cindex CVSROOT, overriding  @cindex CVSROOT, overriding
8348  @cindex Overriding CVSROOT  @cindex Overriding CVSROOT
# Line 14701  group to using @code{cvs admin} to chang Line 14724  group to using @code{cvs admin} to chang
14724  substitution mode, lock revisions, unlock revisions, and  substitution mode, lock revisions, unlock revisions, and
14725  replace the log message, use @samp{UserAdminOptions=klum}.  replace the log message, use @samp{UserAdminOptions=klum}.
14726    
14727  @cindex temporary directory, in CVSROOT/config  @cindex temporary files, location of
14728  @cindex TmpDir, in CVSROOT/config  @cindex temporary directory, set in config
14729    @cindex TmpDir, in config
14730  @item TmpDir=@var{path}  @item TmpDir=@var{path}
14731  Specify @var{path} as the directory to create temporary files in.  This  Specify @var{path} as the directory to create temporary files in.
14732  takes precedence over the @code{$TMPDIR} environment variable  @xref{Global options} for more on setting the path to the temporary
14733  (@pxref{Environment variables}), but not the @samp{-T} global command line  directory.  This option first appeared with @sc{cvs} release 1.12.13.
 option (@pxref{Global options}).  This option first appeared with @sc{cvs}  
 release 1.12.13.  
14734    
14735  @cindex format strings, config admin file  @cindex format strings, config admin file
14736  @cindex config (admin file), updating legacy repositories  @cindex config (admin file), updating legacy repositories
# Line 14815  some level of compression. Line 14837  some level of compression.
14837  @cindex Reference manual for variables  @cindex Reference manual for variables
14838    
14839  This is a complete list of all environment variables  This is a complete list of all environment variables
14840  that affect @sc{cvs}.  that affect @sc{cvs} (Windows users, please bear with this list;
14841    $VAR is equivalent to %VAR% at the Windows command prompt).
14842    
14843  @table @code  @table @code
14844  @cindex CVSIGNORE, environment variable  @cindex CVSIGNORE, environment variable
# Line 14978  Used under OS/2 only.  It specifies the Line 15001  Used under OS/2 only.  It specifies the
15001  command interpreter and defaults to @sc{cmd.exe}.  command interpreter and defaults to @sc{cmd.exe}.
15002    
15003  @cindex TMPDIR, environment variable  @cindex TMPDIR, environment variable
15004    @cindex temporary file directory, set via environment variable
15005    @cindex temporary files, location of
15006  @item $TMPDIR  @item $TMPDIR
15007  @cindex TMP, environment variable  Directory in which temporary files are located.  @xref{Global options} for
15008  @itemx $TMP  more on setting the temporary directory.
 @cindex TEMP, environment variable  
 @itemx $TEMP  
 @cindex Temporary files, location of  
 @c This is quite nuts.  We don't talk about tempnam  
 @c or mkstemp which we sometimes use.  The discussion  
 @c of "Global options" is semi-incoherent.  
 @c I'm not even sure those are the only inaccuracies.  
 @c Furthermore, the conventions are  
 @c pretty crazy and they should be simplified.  
 Directory in which temporary files are located.  
 The @sc{cvs} server uses  
 @code{TMPDIR}.  @xref{Global options}, for a  
 description of how to specify this.  
 Some parts of @sc{cvs} will always use @file{/tmp} (via  
 the @code{tmpnam} function provided by the system).  
   
 On Windows NT, @code{TMP} is used (via the @code{_tempnam}  
 function provided by the system).  
   
 The @code{patch} program which is used by the @sc{cvs}  
 client uses @code{TMPDIR}, and if it is not set, uses  
 @file{/tmp} (at least with GNU patch 2.1).  Note that  
 if your server and client are both running @sc{cvs}  
 1.9.10 or later, @sc{cvs} will not invoke an external  
 @code{patch} program.  
15009    
15010  @cindex CVS_PID, environment variable  @cindex CVS_PID, environment variable
15011  @item $CVS_PID  @item $CVS_PID

Legend:
Removed from v.1.658  
changed lines
  Added in v.1.659

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