annotate man/pcl-cvs.texi @ 112:48d667d6f17f r20-1b8

Import from CVS: tag r20-1b8
author cvs
date Mon, 13 Aug 2007 09:20:48 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @comment OrigId: pcl-cvs.texinfo,v 1.45 1993/05/31 22:38:15 ceder Exp
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 0
diff changeset
4 @comment @@(#)cvs/contrib/pcl-cvs:$Name: r20-0b30 $:$Id: pcl-cvs.texi,v 1.1.1.1 1996/12/18 22:43:46 steve Exp $
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 @comment Documentation for the GNU Emacs CVS mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @comment Copyright (C) 1992 Per Cederqvist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 @comment This file is part of the pcl-cvs distribution.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @comment Pcl-cvs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 @comment it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 @comment the Free Software Foundation; either version 1, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 @comment any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 @comment Pcl-cvs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 @comment but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 @comment MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 @comment GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 @comment You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 @comment along with pcl-cvs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 @comment the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 @setfilename ../info/pcl-cvs.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 @settitle Pcl-cvs - The Emacs Front-End to CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 @setchapternewpage on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 Copyright @copyright{} 1992 Per Cederqvist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 @ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 Permission is granted to process this file through Tex and print the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 results, provided the printed document carries copying permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 notice identical to this one except for the removal of this paragraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (this paragraph not being relevant to the printed manual).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @end ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 manual under the conditions for verbatim copying, provided also that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 section entitled ``GNU General Public License'' is included exactly as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 in the original, and provided that the entire resulting derived work is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 distributed under the terms of a permission notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 into another language, under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 except that the section entitled ``GNU General Public License'' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 this permission notice may be included in translations approved by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 Free Software Foundation instead of in the original English.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 @synindex vr fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 @comment The titlepage section does not appear in the Info file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 @titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 @sp 4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 @comment The title is printed in a large font.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 @center @titlefont{User's Guide}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @sp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @center @titlefont{to}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @sp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @center @titlefont{pcl-cvs - the Emacs Front-End to CVS}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @center release 1.05-CVS-1.7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 @comment -release-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 @sp 3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 @center Per Cederqvist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 @sp 3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 @center last updated 20 Nov 1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 @comment -date-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 @comment The following two commands start the copyright page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 @comment for the printed manual. This will not appear in the Info file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 @vskip 0pt plus 1filll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 Copyright @copyright{} 1992 Per Cederqvist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 manual under the conditions for verbatim copying, provided also that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 section entitled ``GNU General Public License'' is included exactly as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 in the original, and provided that the entire resulting derived work is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 distributed under the terms of a permission notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 into another language, under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 except that the section entitled ``GNU General Public License'' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 this permission notice may be included in translations approved by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 Free Software Foundation instead of in the original English.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @end titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 @comment ================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 @comment The real text starts here
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @comment ================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 @node Top, Installation, (dir), (dir)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 This info manual describes pcl-cvs which is a GNU Emacs front-end to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 CVS. It works with CVS versions 1.5 through 1.7 and newer, and possibly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 CVS-1.3 and CVS-1.4A2. This manual is updated to release
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 1.05-CVS-1.7 of pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @comment -release-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 * Installation:: How to install pcl-cvs on your system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 * About pcl-cvs:: Authors and ftp sites.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 * Getting started:: An introduction with a walk-through example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 * Buffer contents:: An explanation of the buffer contents.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 * Commands:: All commands, grouped by type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 * Customization:: How you can tailor pcl-cvs to suit your needs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 * Future enhancements:: Future enhancements of pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 * Bugs:: Bugs (known and unknown).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 * COPYING:: GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 * Function and Variable Index:: List of functions and variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 * Concept Index:: List of concepts.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 * Key Index:: List of keystrokes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 --- The Detailed Node Listing ---
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 * Pcl-cvs installation:: How to install pcl-cvs on your system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 * On-line manual installation:: How to install the on-line manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 * Typeset manual installation:: How to create typeset documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 about pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 About pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 * Contributors:: Contributors to pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 * Archives:: Where can I get a copy of Pcl-Cvs?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 Buffer contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 * File status:: The meaning of the second field.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 * Selected files:: How selection works.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 * Updating the directory:: Commands to update the local directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 * Movement commands:: How to move up and down in the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 * Marking files:: How to mark files that other commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 will later operate on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 * Committing changes:: Checking in your modifications to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 CVS repository.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 * Editing files:: Loading files into Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 * Getting info about files:: Display the log and status of files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 * Adding and removing files:: Adding and removing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 * Undoing changes:: Undoing changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 * Removing handled entries:: Uninteresting lines can easily be removed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 * Ignoring files:: Telling CVS to ignore generated files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 * Viewing differences:: Commands to @samp{diff} different versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 * Invoking Ediff:: Running @samp{ediff} from @samp{*cvs*} buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 * Invoking Emerge:: Running @samp{emerge} from @samp{*cvs*} buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 * Reverting your buffers:: Reverting your buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 * Miscellaneous commands:: Miscellaneous commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 @node Installation, About pcl-cvs, Top, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 @chapter Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 @cindex Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 This section describes the installation of pcl-cvs, the GNU Emacs CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 front-end. You should install not only the elisp files themselves, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 also the on-line documentation so that your users will know how to use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 it. You can create typeset documentation from the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 @file{pcl-cvs.texinfo} as well as an on-line info file. The following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 steps are also described in the file @file{INSTALL} in the source
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 * Pcl-cvs installation:: How to install pcl-cvs on your system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 * On-line manual installation:: How to install the on-line manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 * Typeset manual installation:: How to create typeset documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 about pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 @node Pcl-cvs installation, On-line manual installation, Installation, Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 @section Installation of the pcl-cvs program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 @cindex Installation of elisp files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 @enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 Possibly edit the file @file{Makefile} to reflect the situation at your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 site. We say "possibly" because the version of pcl-cvs included with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 CVS uses a configuration mechanism integrated with the overall
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 mechanisms used by the CVS build and install procedures. Thus the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 @code{Makefile} will be generated automatically from the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 @code{Makefile.in}, and it should not be necessary to edit it further.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 If you do have to edit the @file{Makefile}, the only things you have to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 change is the definition of @code{lispdir} and @code{infodir}. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 elisp files will be copied to @code{lispdir}, and the info file(s) to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 @code{infodir}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 Configure pcl-cvs.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 There are a couple of pathnames that you have to check to make sure that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 they match your system. They appear early in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 @samp{pcl-cvs.el}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 @strong{NOTE:} If your system is running emacs 18.57 or earlier you MUST
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 uncomment the line that says:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 (setq delete-exited-processes nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 Setting @code{delete-exited-processes} to @code{nil} works around a bug
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 in emacs that causes it to dump core. The bug was fixed in emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 18.58.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 Release 1.05 and later of pcl-cvs requires parts of the Elib library,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 version 1.0 or later. Elib is available via anonymous ftp from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 prep.ai.mit.edu in @file{pub/gnu/elib-1.0.tar.gz}, and from a lot of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 other sites that mirror prep. Get Elib, and install it, before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 proceeding.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 @strong{NOTE:} The version of pcl-cvs included with CVS includes a copy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 of Elib in the sub-directory @file{elib} under the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @file{contrib/pcl-cvs} directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 Type @samp{make install} in the source directory. This will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 byte-compile all @file{.el} files and copy the @file{*.elc} files into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 the directory you specified in step 1.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 If you want to install the @file{*.el} files too, you can type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 @samp{make install-el} to do so.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 If you only want to create the compiled elisp files, but don't want to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 install them, you can type @samp{make} without parameters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 Edit the file @file{default.el} in your emacs lisp directory (usually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 @file{/usr/gnu/lib/emacs/site-lisp} or something similar) and enter the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 contents of the file @file{pcl-cvs-startup.el} into it. It contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 couple of @code{auto-load}s that facilitates the use of pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 @node On-line manual installation, Typeset manual installation, Pcl-cvs installation, Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 @section Installation of the on-line manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 @cindex Manual installation (on-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 @cindex Installation of on-line manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 @cindex Generating the on-line manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 @cindex On-line manual (how to generate)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 @cindex Info-file (how to generate)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 @enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 Create the info file(s) @file{pcl-cvs.info*} from @file{pcl-cvs.texinfo}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 by typing @samp{make info}. If you don't have the program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 @samp{makeinfo} you can get it by anonymous ftp from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 e.g. @samp{prep.ai.mit.edu} as @file{pub/gnu/texinfo-3.7.tar.gz} (there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 might be a newer version there when you read this).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 Install the info file(s) @file{pcl-cvs.info*} into your standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 @file{info} directory. You should be able to do this by typing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 @samp{make install-info}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 Edit the file @file{dir} in the @file{info} directory and enter one line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 to contain a pointer to the info file(s) @file{pcl-cvs.info*}. The line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 can, for instance, look like this:@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 * Pcl-cvs: (pcl-cvs). An Emacs front-end to CVS.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 @node Typeset manual installation, , On-line manual installation, Installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 @section How to make typeset documentation from pcl-cvs.texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 @cindex Manual installation (typeset)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 @cindex Installation of typeset manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 @cindex Printing a manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 @cindex TeX - generating a typeset manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 @cindex Generating a typeset manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 If you have @TeX{} installed at your site, you can make a typeset manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 from @file{pcl-cvs.texinfo}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 @enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 Run @TeX{} by typing `@samp{make pcl-cvs.dvi}'. You will not get the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 indices unless you have the @code{texindex} program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 Convert the resulting device independent file @file{pcl-cvs.dvi} to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 form which your printer can output and print it. If you have a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 postscript printer there is a program, @code{dvi2ps}, which does. There
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 is also a program which comes together with @TeX{}, @code{dvips}, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 you can use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 @node About pcl-cvs, Getting started, Installation, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 @chapter About pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 @cindex About pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 Pcl-cvs is a front-end to CVS versions 1.5 through 1.7 and newer; and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 possibly verison 1.3 and 1.4A2. It integrates the most frequently used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 CVS commands into an emacs interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 * Contributors:: Contributors to pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 * Archives:: Where can I get a copy of Pcl-Cvs?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 @node Contributors, Archives, About pcl-cvs, About pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 @section Contributors to pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 @cindex Contributors
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 @cindex Authors
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 Contributions to the package are welcome. I have limited time to work
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 on this project, but I will gladly add any code that you contribute to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 me to this package (@pxref{Bugs}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 The following persons have made contributions to pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 Brian Berliner wrote CVS, together with some other contributors.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 Without his work on CVS this package would be useless@dots{}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 Per Cederqvist wrote most of the otherwise unattributed functions in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 pcl-cvs as well as all documentation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 Inge Wallin (@samp{inge@@lysator.liu.se}) wrote the skeleton to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 @file{pcl-cvs.texinfo}, and gave useful comments on it. He also wrote
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 the files @file{elib-node.el} and @file{compile-all.el}. The file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 @file{cookie.el} was inspired by Inge.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 Linus Tolke (@samp{linus@@lysator.liu.se}) contributed useful comments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 on both the functionality and the documentation.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 Jamie Zawinski (@samp{jwz@@lucid.com}) contributed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 @file{pcl-cvs-lucid.el}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 Leif Lonnblad contributed RCVS support. (Since superceded by the new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 remote CVS support.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 Jim Blandy (@samp{jimb@@cyclic.com}) contributed hooks to automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 guess CVS log entries from ChangeLog contents; and initial support of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 the new Cygnus / Cyclic remote CVS; as well as various sundry bug fixes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 and cleanups.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 Jim Kingdon (@samp{kingdon@@cyclic.com}) contributed lots of fixes to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 the build and install procedure.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 Greg A. Woods (@samp{woods@@planix.com}) contributed code to implement
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 the use of per-file diff buffers; and vendor join diffs with emerge and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 ediff; as well as various an sundry bug fixes and cleanups.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 Apart from these, a lot of people have send me suggestions, ideas,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 requests, bug reports and encouragement. Thanks a lot! Without your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 there would be no new releases of pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 @node Archives, , Contributors, About pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 @section Where can I get pcl-cvs?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 @cindex Sites
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 @cindex Archives
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 @cindex Ftp-sites
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 @cindex Getting pcl-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 @cindex Email archives
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 The current release of pcl-cvs is included in CVS-1.7.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 The author's release of pcl-cvs can be fetched via anonymous ftp from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 @code{ftp.lysator.liu.se}, (IP no. 130.236.254.1) in the directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 @code{pub/emacs}. If you don't live in Scandinavia you should probably
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 check with archie to see if there is a site closer to you that archives
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 New releases will be announced to appropriate newsgroups. If you send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 your email address to me I will add you to my list of people to mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 when I make a new release.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 @node Getting started, Buffer contents, About pcl-cvs, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 @chapter Getting started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 @cindex Introduction
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 @cindex Example run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 This document assumes that you know what CVS is, and that you at least
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 knows the fundamental concepts of CVS. If that is not the case you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 should read the man page for CVS.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 Pcl-cvs is only useful once you have checked out a module. So before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 you invoke it you must have a copy of a module somewhere in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 You invoke pcl-cvs by typing @kbd{M-x cvs-update RET}. If your emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 responds with @samp{[No match]} your system administrator has not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 installed pcl-cvs properly. Try @kbd{M-x load-library RET pcl-cvs RET}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 If that also fails - talk to your root. If it succeeds you might put
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 this line in your @file{.emacs} file so that you don't have to type the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 @samp{load-library} command every time you wish to use pcl-cvs:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 (autoload 'cvs-update "pcl-cvs" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 The function @code{cvs-update} will ask for a directory. The command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 @samp{cvs update} will be run in that directory. (It should contain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 files that have been checked out from a CVS archive.) The output from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 @code{cvs} will be parsed and presented in a table in a buffer called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 @samp{*cvs*}. It might look something like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 PCL-CVS release 1.05-CVS-1.7.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 @comment -release-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 In directory /users/ceder/FOO/test:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 Updated bar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 Updated file.txt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 Modified ci namechange
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 Updated newer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 In directory /users/ceder/FOO/test/sub:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 Modified ci ChangeLog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 ---------- End -----
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 In this example the two files (@file{bar}, @file{file.txt}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 @file{newer}) that are marked with @samp{Updated} have been copied from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 the CVS repository to @file{/users/ceder/FOO/test/} since someone else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 have checked in newer versions of them. Two files (@file{namechange}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 and @file{sub/ChangeLog}) have been modified locally, and needs to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 checked in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 You can move the cursor up and down in the buffer with @kbd{C-n} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 @kbd{C-p} or @kbd{n} and @kbd{p}. If you press @kbd{c} on one of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 @samp{Modified} files that file will be checked in to the CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 repository. @xref{Committing changes}. You can press @kbd{x} to get rid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 of the "uninteresting" files that have only been @samp{Updated} (and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 don't require any further action from you).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 You can also easily get a @samp{diff} between your modified file and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 base version that you started from, and you can get the output from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 @samp{cvs log} and @samp{cvs status} on the listed files simply by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 pressing a key (@pxref{Getting info about files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 @node Buffer contents, Commands, Getting started, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 @chapter Buffer contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 @cindex Buffer contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 The display contains four columns. They contain, from left to right:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 An asterisk when the file is @dfn{marked} (@pxref{Selected
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 files}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 The status of the file. See @xref{File status}, for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 information.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 A "need to be checked in"-marker (@samp{ci}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 The file name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 * File status:: The meaning of the second field.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 * Selected files:: How selection works.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 @node File status, Selected files, Buffer contents, Buffer contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 @section File status
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 @cindex File status
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 @cindex Updated (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 @cindex Patched (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 @cindex Modified (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 @cindex Merged (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 @cindex Conflict (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 @cindex Added (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 @cindex Removed (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 @cindex Unknown (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 @cindex Removed from repository (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 @cindex Removed from repository, changed by you (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 @cindex Removed by you, changed in repository (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 @cindex Move away @var{file} - it is in the way (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 @cindex This repository is missing!@dots{} (file status)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 The @samp{file status} field can have the following values:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 @item Updated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 The file was brought up to date with respect to the repository. This is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 done for any file that exists in the repository but not in your source,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 and for files that you haven't changed but are not the most recent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 versions available in the repository.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 @item Patched
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 The file was brought up to date with respect to a remote repository by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 way of fetching and applying a patch to the file in your source. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 is done for any file that exists in a remote repository and in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 source; of which you haven't changed locally but is not the most recent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 version available in the remote repository.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 @item Modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 The file is modified in your working directory, and there was no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 modification to the same file in the repository.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 @item Merged
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 The file is modified in your working directory, and there were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 modifications in the repository as well as in your copy, but they were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 merged successfully, without conflict, in your working directory.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 @item Conflict
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 A conflict was detected while trying to merge your changes to @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 with changes from the source repository. @var{file} (the copy in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 working directory) is now the output of the @samp{rcsmerge} command on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 the two versions; an unmodified copy of your file is also in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 working directory, with the name @file{.#@var{file}.@var{version}},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 where @var{version} is the RCS revision that your modified file started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 from. @xref{Viewing differences}, for more details.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 @item Added
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 The file has been added by you, but it still needs to be checked in to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 the repository.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 @item Removed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 The file has been removed by you, but it needs to be checked in to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 repository. You can resurrect it by typing @kbd{a} (@pxref{Adding and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 removing files}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 @item Unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 A file that was detected in your directory, but that neither appears in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 the repository, nor is present on the list of files that CVS should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 ignore.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 There are also a few special cases, that rarely occur, which have longer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 strings in the fields:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 @item Removed from repository
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 The file has been removed from your directory since someone has removed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 it from the repository. (It is still present in the Attic directory, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 no permanent loss has occurred). This, unlike the other entries in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 table, is not an error condition.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 @item Removed from repository, changed by you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 You have modified a file that someone have removed from the repository.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 You can correct this situation by removing the file manually (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 @pxref{Adding and removing files}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 @item Removed by you, changed in repository
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 You have removed a file, and before you committed the removal someone
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 committed a change to that file. You could use @kbd{a} to resurrect the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 file (see @pxref{Adding and removing files}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 @item Move away @var{file} - it is in the way
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 For some reason CVS does not like the file @var{file}. Rename or remove
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 it.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 @item This repository is missing! Remove this dir manually.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 It is impossible to remove a directory in the CVS repository in a clean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 way. Someone have tried to remove one, and CVS gets confused. Remove
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 your copy of the directory.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 @node Selected files, , File status, Buffer contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 @section Selected files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 @cindex Selected files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 @cindex Marked files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 @cindex File selection
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 @cindex Active files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 Many of the commands works on the current set of @dfn{selected} files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 If there are any files that are marked they constitute the set of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 selected files.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 Otherwise, if the cursor points to a file, that file is the selected
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 file.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 Otherwise, if the cursor points to a directory, all the files in that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 directory that appears in the buffer are the selected files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 This scheme might seem a little complicated, but once one get used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 it, it is quite powerful.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 @xref{Marking files} tells how you mark and unmark files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 @node Commands, Customization, Buffer contents, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 @chapter Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 This chapter describes all the commands that you can use in pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 The nodes in this menu contains explanations about all the commands that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 you can use in pcl-cvs. They are grouped together by type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 * Updating the directory:: Commands to update the local directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 * Movement commands:: How to move up and down in the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 * Marking files:: How to mark files that other commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 will later operate on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 * Committing changes:: Checking in your modifications to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 CVS repository.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 * Editing files:: Loading files into Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 * Getting info about files:: Display the log and status of files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 * Adding and removing files:: Adding and removing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 * Undoing changes:: Undoing changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 * Removing handled entries:: Uninteresting lines can easily be removed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 * Ignoring files:: Telling CVS to ignore generated files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 * Viewing differences:: Commands to @samp{diff} different versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 * Invoking Ediff:: Running @samp{ediff} from @samp{*cvs*} buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 * Invoking Emerge:: Running @samp{emerge} from @samp{*cvs*} buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 * Reverting your buffers:: Reverting your buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 * Miscellaneous commands:: Miscellaneous commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 @node Updating the directory, Movement commands, Commands, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 @section Updating the directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 @findex cvs-update
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 @findex cvs-mode-update-no-prompt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 @findex cvs-delete-lock
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 @cindex Getting the *cvs* buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 @kindex g - Rerun @samp{cvs update}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 @item M-x cvs-update
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 Run a @samp{cvs update} command. You will be asked for the directory in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 which the @samp{cvs update} will be run. The output will be parsed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 pcl-cvs, and the result printed in the @samp{*cvs*} buffer (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 @pxref{Buffer contents} for a description of the contents).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 By default, @samp{cvs-update} will descend recursively into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 subdirectories. You can avoid that behavior by giving a prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 argument to it (e.g., by typing @kbd{C-u M-x cvs-update RET}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 All other commands in pcl-cvs requires that you have a @samp{*cvs*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 buffer. This is the command that you use to get one.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 CVS uses lock files in the repository to ensure the integrity of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 data files in the repository. They might be left behind i.e. if a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 workstation crashes in the middle of a CVS operation. CVS outputs a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 message when it is waiting for a lock file to go away. Pcl-cvs will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 show the same message in the *cvs* buffer, together with instructions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 for deleting the lock files. You should normally not have to delete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 them manually --- just wait a little while and the problem should fix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 itself. But if the lock files doesn't disappear you can delete them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 with @kbd{M-x cvs-delete-lock RET}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 @item g
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 This will run @samp{cvs update} again. It will always use the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 buffer that was used with the previous @samp{cvs update}. Give a prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 argument to avoid descending into subdirectories. This runs the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 @samp{cvs-mode-update-no-prompt}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 @item G
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 This will run @samp{cvs update} and prompt for a new directory to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 update. This runs the command @samp{cvs-update}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 @node Movement commands, Marking files, Updating the directory, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 @section Movement Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 @cindex Movement Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 @findex cookie-next-cookie
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 @findex cookie-previous-cookie
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 @kindex SPC - Move down one file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 @kindex C-n - Move down one file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 @kindex n - Move down one file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 @kindex C-p - Move up one file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 @kindex p - Move up on file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 You can use most normal Emacs commands to move forward and backward in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 the buffer. Some keys are rebound to functions that take advantage of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 the fact that the buffer is a pcl-cvs buffer:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 @item SPC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 @itemx C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 @itemx n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 These keys move the cursor one file forward, towards the end of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 buffer (@code{cookie-next-cookie}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 @item C-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 @itemx p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 These keys move one file backward, towards the beginning of the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 (@code{cookie-previous-cookie}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 @node Marking files, Committing changes, Movement commands, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 @section Marking files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 @cindex Selecting files (commands to mark files)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 @cindex Marking files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 @kindex m - marking a file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 @kindex M - marking all files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 @kindex u - unmark a file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 @kindex ESC DEL - unmark all files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 @kindex DEL - unmark previous file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 @findex cvs-mode-mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 @findex cvs-mode-unmark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 @findex cvs-mode-mark-all-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 @findex cvs-mode-unmark-all-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 @findex cvs-mode-unmark-up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 Pcl-cvs works on a set of @dfn{selected files} (@pxref{Selected files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 You can mark and unmark files with these commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 @item m
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 This marks the file that the cursor is positioned on. If the cursor is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 positioned on a directory all files in that directory will be marked.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 (@code{cvs-mode-mark}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 @item u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 Unmark the file that the cursor is positioned on. If the cursor is on a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 directory, all files in that directory will be unmarked.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 (@code{cvs-mode-unmark}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 @item M
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 Mark @emph{all} files in the buffer (@code{cvs-mode-mark-all-files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 @item @key{ESC} @key{DEL}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 Unmark @emph{all} files (@code{cvs-mode-unmark-all-files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 @item @key{DEL}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 Unmark the file on the previous line, and move point to that line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 (@code{cvs-mode-unmark-up}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 @node Committing changes, Editing files, Marking files, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 @section Committing changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 @cindex Committing changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 @cindex Ci
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 @findex cvs-mode-commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 @findex cvs-mode-changelog-commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 @kindex c - commit files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 @kindex C - commit files with ChangeLog message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 @vindex cvs-erase-input-buffer (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 @vindex cvs-auto-revert-after-commit (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 @cindex Commit buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 @cindex Edit buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 @cindex Erasing commit message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 @cindex Reverting buffers after commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 @item c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 All files that have a "need to be checked in"-marker (@pxref{Buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 contents}) can be checked in with the @kbd{c} command. It checks in all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 selected files (@pxref{Selected files}) (except those who lack the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 "ci"-marker - they are ignored). Pressing @kbd{c} causes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 @code{cvs-mode-commit} to be run.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 When you press @kbd{c} you will get a buffer called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 @samp{*cvs-commit-message*}. Enter the log message for the file(s) in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 it. When you are ready you should press @kbd{C-c C-c} to actually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 commit the files (using @code{cvs-edit-done}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 Normally the @samp{*cvs-commit-message*} buffer will retain the log
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 message from the previous commit, but if the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 @code{cvs-erase-input-buffer} is set to a non-@code{nil} value the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 buffer will be erased. Point and mark will always be located around the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 entire buffer so that you can easily erase it with @kbd{C-w}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 (@samp{kill-region}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 If you are editing the files in your emacs an automatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 @samp{revert-buffer} will be performed. (If the file contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 @samp{$@asis{Id}$} keywords @samp{cvs commit} will write a new file with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 the new values substituted. The auto-revert makes sure that you get
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 them into your buffer). The revert will not occur if you have modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 your buffer, or if @samp{cvs-auto-revert-after-commit} is set to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 @samp{nil}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 @item C
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 This is just like @samp{cvs-mode-commit}, except that it tries to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 provide appropriate default log messages by looking at the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 @samp{ChangeLog}s in the current directory. The idea is to write your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 ChangeLog entries first, and then use this command to commit your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 changes. Pressing @kbd{C} causes @code{cvs-mode-changelog-commit} to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856 run.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 To select default log text, pcl-cvs:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 @itemize @minus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 finds the ChangeLogs for the files to be checked in;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 verifies that the top entry in the ChangeLog is on the current date and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 by the current user; if not, no default text is provided;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 search the ChangeLog entry for paragraphs containing the names of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 files we're checking in; and finally
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 uses those paragraphs as the default log text in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 @samp{*cvs-commit-message*} buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 You can then commit the @samp{ChangeLog} file once per day without any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 log message.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 @node Editing files, Getting info about files, Committing changes, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 @section Editing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 @cindex Editing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884 @cindex Finding files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 @cindex Loading files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 @cindex Dired
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 @cindex Invoking dired
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 @findex cvs-mode-find-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 @findex cvs-mode-find-file-other-window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 @findex cvs-mode-add-change-log-entry-other-window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 @kindex f - find file or directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 @kindex o - find file in other window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 @kindex A - add ChangeLog entry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 There are currently three commands that can be used to find a file (that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 is, load it into a buffer and start editing it there). These commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 work on the line that the cursor is situated at. They ignore any marked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 @item f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902 Find the file that the cursor points to. Run @samp{dired}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 (@pxref{Dired,,,Emacs})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 if the cursor points to a directory (@code{cvs-mode-find-file}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 @item o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 Like @kbd{f}, but use another window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 (@code{cvs-mode-find-file-other-window}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 @item A
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 Invoke @samp{add-change-log-entry-other-window} to edit a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914 @samp{ChangeLog} file. The @samp{ChangeLog} will be found in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 directory of the file the cursor points to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916 (@code{cvs-mode-add-change-log-entry-other-window}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 @node Getting info about files, Adding and removing files, Editing files, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 @section Getting info about files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 @cindex Status (cvs command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 @cindex Log (RCS/cvs command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926 @cindex Getting status
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 @kindex l - run @samp{cvs log}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 @kindex s - run @samp{cvs status}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929 @findex cvs-mode-log
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 @findex cvs-mode-status
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
931
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 Both of the following commands can be customized.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
933 @xref{Customization}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936 @item l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 Run @samp{cvs log} on all selected files, and show the result in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938 temporary buffer (@code{cvs-mode-log}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 @item s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941 Run @samp{cvs status} on all selected files, and show the result in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942 temporary buffer (@code{cvs-mode-status}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 @node Adding and removing files, Undoing changes, Getting info about files, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 @section Adding and removing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 @cindex Adding files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 @cindex Removing files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 @cindex Resurrecting files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 @cindex Deleting files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 @cindex Putting files under CVS control
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 @kindex a - add a file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 @kindex r - remove a file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 @findex cvs-mode-add
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 @findex cvs-mode-remove-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 The following commands are available to make it easy to add and remove
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961 files from the CVS repository.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 @item a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 Add all selected files. This command can be used on @samp{Unknown}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 files (see @pxref{File status}). The status of the file will change to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 @samp{Added}, and you will have to use @kbd{c} (@samp{cvs-mode-commit}, see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 @pxref{Committing changes}) to really add the file to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 repository.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 This command can also be used on @samp{Removed} files (before you commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 them) to resurrect them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 Selected files that are neither @samp{Unknown} nor @samp{Removed} will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 be ignored by this command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977 The command that is run is @code{cvs-mode-add}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 @item r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980 This command removes the selected files (after prompting for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981 confirmation). The files are @samp{rm}ed from your directory and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
982 (unless the status was @samp{Unknown}; @pxref{File status}) they will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 also be @samp{cvs remove}d. If the files were @samp{Unknown} they will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984 disappear from the buffer. Otherwise their status will change to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 @samp{Removed}, and you must use @kbd{c} (@samp{cvs-mode-commit},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 @pxref{Committing changes}) to commit the removal.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 The command that is run is @code{cvs-mode-remove-file}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 @node Undoing changes, Removing handled entries, Adding and removing files, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 @section Undoing changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 @cindex Undo changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 @cindex Flush changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 @kindex U - undo changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 @findex cvs-mode-undo-local-changes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002 @item U
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003 If you have modified a file, and for some reason decide that you don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004 want to keep the changes, you can undo them with this command. It works
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 by removing your working copy of the file and then getting the latest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006 version from the repository (@code{cvs-mode-undo-local-changes}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 @node Removing handled entries, Ignoring files, Undoing changes, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 @section Removing handled entries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014 @cindex Expunging uninteresting entries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 @cindex Uninteresting entries, getting rid of them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 @cindex Getting rid of uninteresting lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017 @cindex Removing uninteresting (processed) lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 @cindex Handled lines, removing them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 @kindex x - remove processed entries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020 @kindex C-k - remove selected entries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 @findex cvs-mode-remove-handled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 @findex cvs-mode-acknowledge
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 @item x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 This command allows you to remove all entries that you have processed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 More specifically, the lines for @samp{Updated} files (@pxref{File
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028 status} and files that have been checked in (@pxref{Committing changes})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 are removed from the buffer. If a directory becomes empty the heading
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 for that directory is also removed. This makes it easier to get an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 overview of what needs to be done.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033 The command is called @code{cvs-mode-remove-handled}. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1034 @samp{cvs-auto-remove-handled} is set to non-@code{nil} this will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035 automatically be performed after every commit.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 @item C-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038 This command can be used for lines that @samp{cvs-mode-remove-handled} would
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039 not delete, but that you want to delete (@code{cvs-mode-acknowledge}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1041
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1042
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1043 @node Ignoring files, Viewing differences, Removing handled entries, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1044 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046 @section Ignoring files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047 @kindex i - ignoring files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 @findex cvs-mode-ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 @item i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 Arrange so that CVS will ignore the selected files. The file names are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053 added to the @file{.cvsignore} file in the corresponding directory. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 the @file{.cvsignore} doesn't exist it will be created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 The @file{.cvsignore} file should normally be added to the repository,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 but you could ignore it also if you like it better that way.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1058
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1059 This runs @code{cvs-mode-ignore}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1060 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1061
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1062
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1063 @node Viewing differences, Invoking Ediff, Ignoring files, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1064 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 @section Viewing differences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 @cindex Diff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 @cindex Ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 @cindex Invoking ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1070 @cindex Conflicts, how to resolve them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1071 @cindex Viewing differences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1072 @kindex d - run @samp{cvs diff}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073 @kindex b - diff backup file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 @findex cvs-mode-diff-cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 @findex cvs-mode-diff-backup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 @vindex cvs-diff-ignore-marks (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1079 @item d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1080 Display a @samp{cvs diff} between the selected files and the RCS version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1081 that they are based on. @xref{Customization} describes how you can send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1082 flags to @samp{cvs diff}. If @var{cvs-diff-ignore-marks} is set to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083 non-@code{nil} value or if a prefix argument is given (but not both) any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084 marked files will not be considered to be selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1085 (@code{cvs-mode-diff-cvs}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 @item b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088 If CVS finds a conflict while merging two versions of a file (during a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089 @samp{cvs update}, @pxref{Updating the directory}) it will save the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 original file in a file called @file{.#@var{FILE}.@var{VERSION}} where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 @var{FILE} is the name of the file, and @var{VERSION} is the RCS version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092 number that your file was based on.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1093
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1094 With the @kbd{b} command you can run a @samp{diff} on the files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1095 @file{.#@var{FILE}.@var{VERSION}} and @file{@var{FILE}}. You can get a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 context- or Unidiff by setting @samp{cvs-diff-flags} -
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 @pxref{Customization}. This command only works on files that have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1098 status @samp{Conflict} or @samp{Merged}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 If @var{cvs-diff-ignore-marks} is set to a non-@code{nil} value or if a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 prefix argument is given (but not both) any marked files will not be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 considered to be selected. (@code{cvs-mode-diff-backup}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 @node Invoking Ediff, Invoking Emerge, Viewing differences, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109 @section Running ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 @cindex Ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 @cindex Invoking ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112 @cindex Viewing differences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 @cindex Conflicts, resolving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 @cindex Resolving conflicts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115 @kindex e - invoke @samp{ediff}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 @findex cvs-mode-ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 @findex run-ediff-from-cvs-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 @findex cvs-old-ediff-interface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121 @item e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 This command works
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 slightly different depending on the version of @samp{ediff} and the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 status.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 With modern versions of @samp{ediff}, this command invokes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 @samp{run-ediff-from-cvs-buffer} on one file.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129 @strong{Note:} When the file status is @samp{Merged} or @samp{Conflict},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 CVS has already performed a merge. The resulting file is not used in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 any way if you use this command. If you use the @kbd{q} command inside
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 @samp{ediff} (to successfully terminate a merge) the file that CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133 created will be overwritten.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 Older versions of @samp{ediff} use an interface similar to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 @samp{emerge}. The function @samp{cvs-old-ediff-interface} is invoked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 if the version of @samp{ediff} you have doesn't support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 @samp{run-ediff-from-cvs-buffer}. These older versions do not support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 merging of revisions.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 @item @samp{Modified}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 Run @samp{ediff-files} with your working file as file A, and the latest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 revision in the repository as file B.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 @item @samp{Merged}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147 @itemx @samp{Conflict}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1148 Run @samp{ediff-files3} with your working file (as it was prior to your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 invocation of @samp{cvs-update}) as file A, the latest revision in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1150 repository as file B, and the revision that you based your local
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1151 modifications on as ancestor.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1153 @item @samp{Updated}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 @itemx @samp{Patched}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1155 Run @samp{ediff-files} with your working file as file A, and a given
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1156 revision in the repository as file B. You are prompted for the revision
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157 to ediff against, and you may specify either a tag name or a numerical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 revision number (@pxref{Getting info about files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 @node Invoking Emerge, Reverting your buffers, Invoking Ediff, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166 @section Running emerge
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 @cindex Emerge
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1168 @cindex Ediff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 @cindex Viewing differences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170 @cindex Invoking emerge
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 @cindex Conflicts, resolving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172 @cindex Resolving conflicts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1173 @kindex E - invoke @samp{emerge}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1174 @findex cvs-mode-emerge
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177 @item E
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 Invoke @samp{emerge} on one file. This command works slightly different
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179 depending on the file status.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1182 @item @samp{Modified}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 Run @samp{emerge-files} with your working file as file A, and the latest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1184 revision in the repository as file B.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186 @item @samp{Merged}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187 @itemx @samp{Conflict}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1188 Run @samp{emerge-files-with-ancestor} with your working file (as it was
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1189 prior to your invocation of @samp{cvs-update}) as file A, the latest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1190 revision in the repository as file B, and the revision that you based
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191 your local modifications on as ancestor.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1192 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194 @strong{Note:} When the file status is @samp{Merged} or @samp{Conflict},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1195 CVS has already performed a merge. The resulting file is not used in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1196 any way if you use this command. If you use the @kbd{q} command inside
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1197 @samp{emerge} (to successfully terminate the merge) the file that CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1198 created will be overwritten.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203 @node Reverting your buffers, Miscellaneous commands, Invoking Emerge, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1206 @section Reverting your buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207 @findex cvs-mode-revert-updated-buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 @kindex R - revert buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209 @cindex Syncing buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210 @cindex Reverting buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1212 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 @item R
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 If you are editing (or just viewing) a file in a buffer, and that file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215 is changed by CVS during a @samp{cvs-update}, all you have to do is type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216 @kbd{R} in the *cvs* buffer to read in the new versions of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1217 files.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1219 All files that are @samp{Updated}, @samp{Merged} or in @samp{Conflict}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1220 are reverted from the disk. Any other files are ignored. Only files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1221 that you were already editing are read.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1222
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1223 An error is signalled if you have modified the buffer since it was last
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1224 changed. (@code{cvs-mode-revert-updated-buffers}).@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1225 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1226
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228 @node Miscellaneous commands, , Reverting your buffers, Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231 @section Miscellaneous commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 @findex cvs-byte-compile-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1233 @cindex Recompiling elisp files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1234 @cindex Byte compilation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1235 @cindex Getting rid of lock files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1236 @cindex Lock files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1237 @kindex q - bury the *cvs* buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1238 @findex bury-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1240 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1241 @item M-x cvs-byte-compile-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1242 Byte compile all selected files that end in .el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1244 @item M-x cvs-delete-lock
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1245 This command can be used in any buffer, and deletes the lock files that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1246 the *cvs* buffer informs you about. You should normally never have to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1247 use this command since CVS tries very carefully to always remove the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1248 lock files itself.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250 You can only use this command when a message in the *cvs* buffer tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1251 you so. You should wait a while before using this command in case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1252 someone else is running a cvs command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1254 @item q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1255 Bury the *cvs* buffer. (@code{bury-buffer}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1257 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1260 @node Customization, Future enhancements, Commands, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1261 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263 @chapter Customization
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1264 @vindex cvs-erase-input-buffer (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1265 @vindex cvs-inhibit-copyright-message (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 @vindex cvs-diff-flags (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 @vindex cvs-diff-ignore-marks (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1268 @vindex cvs-log-flags (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1269 @vindex cvs-status-flags (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1270 @vindex cvs-auto-remove-handled (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1271 @vindex cvs-update-prog-output-skip-regexp (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1272 @vindex cvs-cvsroot (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1273 @vindex TMPDIR (environment variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1274 @vindex cvs-auto-revert-after-commit (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1275 @vindex cvs-commit-buffer-require-final-newline (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1276 @vindex cvs-sort-ignore-file (variable)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1277 @cindex Inhibiting the Copyright message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1278 @cindex Copyright message, getting rid of it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1279 @cindex Getting rid of the Copyright message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1280 @cindex Customization
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1281 @cindex Variables, list of all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1282 @cindex Erasing the input buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1283 @cindex Context diff, how to get
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1284 @cindex Unidiff, how to get
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1285 @cindex Automatically remove handled files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1286 @cindex -u option in modules file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1287 @cindex Modules file (-u option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1288 @cindex Update program (-u option in modules file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1289 @cindex Reverting buffers after commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1290 @cindex Require final newline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1291 @cindex Automatically inserting newline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1292 @cindex Commit message, inserting newline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1293 @cindex Sorting the .cvsignore file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1294 @cindex .cvsignore file, sorting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1295 @cindex Automatically sorting .cvsignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1297 If you have an idea about any customization that would be handy but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1298 isn't present in this list, please tell me! @xref{Bugs} for info on how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1299 to reach me.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1301 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1302 @item cvs-erase-input-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1303 If set to anything else than @code{nil} the edit buffer will be erased
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1304 before you write the log message (@pxref{Committing changes}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1306 @item cvs-inhibit-copyright-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1307 The copyright message that is displayed on startup can be annoying after
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1308 a while. Set this variable to @samp{t} if you want to get rid of it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1309 (But don't set this to @samp{t} in the system defaults file - new users
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1310 should see this message at least once).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1311
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1312 @item cvs-diff-flags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1313 A list of strings to pass as arguments to the @samp{cvs diff} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1314 @samp{diff} programs. This is used by @samp{cvs-mode-diff-cvs} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1315 @samp{cvs-mode-diff-backup} (key @kbd{b}, @pxref{Viewing differences}). If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1316 you prefer the Unidiff format you could add this line to your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1317 @file{.emacs} file:@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1319 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1320 (setq cvs-diff-flags '("-u"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1321 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1323 @item cvs-diff-ignore-marks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1324 If this variable is non-@code{nil} or if a prefix argument is given (but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1325 not both) to @samp{cvs-mode-diff-cvs} or @samp{cvs-mode-diff-backup}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1326 marked files are not considered selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1328 @item cvs-log-flags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1329 List of strings to send to @samp{cvs log}. Used by @samp{cvs-mode-log}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1330 (key @kbd{l}, @pxref{Getting info about files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1332 @item cvs-status-flags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1333 List of strings to send to @samp{cvs status}. Used by @samp{cvs-mode-status}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1334 (key @kbd{s}, @pxref{Getting info about files}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1336 @item cvs-auto-remove-handled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1337 If this variable is set to any non-@code{nil} value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1338 @samp{cvs-mode-remove-handled} will be called every time you check in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1339 files, after the check-in is ready. @xref{Removing handled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1340 entries}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1342 @item cvs-auto-revert-after-commit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1343 If this variable is set to any non-@samp{nil} value any buffers you have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1344 that visit a file that is committed will be automatically reverted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1345 This variable is default @samp{t}. @xref{Committing changes}.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1346
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1347 @item cvs-update-prog-output-skip-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1348 The @samp{-u} flag in the @file{modules} file can be used to run a command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1349 whenever a @samp{cvs update} is performed (see cvs(5)). This regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1350 is used to search for the last line in that output. It is normally set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1351 to @samp{"$"}. That setting is only correct if the command outputs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1352 nothing. Note that pcl-cvs will get very confused if the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1353 outputs @emph{anything} to @samp{stderr}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1355 @item cvs-cvsroot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1356 This variable can be set to override @samp{CVSROOT}. It should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1357 string. If it is set then everytime a cvs command is run it will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1358 called as @samp{cvs -d @var{cvs-cvsroot}@dots{}} This can be useful if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1359 your site has several repositories.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1360
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1361 @item TMPDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1362 Pcl-cvs uses this @emph{environment variable} to decide where to put the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1363 temporary files it needs. It defaults to @file{/tmp} if it is not set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1364
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1365 @item cvs-commit-buffer-require-final-newline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1366 When you enter a log message in the @samp{*cvs-commit-message*} buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1367 pcl-cvs will normally automatically insert a trailing newline, unless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1368 there already is one. This behavior can be controlled via
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1369 @samp{cvs-commit-buffer-require-final-newline}. If it is @samp{t} (the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1370 default behavior), a newline will always be appended. If it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1371 @samp{nil}, newlines will never be appended. Any other value causes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1372 pcl-cvs to ask the user whenever there is no trailing newline in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1373 commit message buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1375 @item cvs-sort-ignore-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1376 If this variable is set to any non-@samp{nil} value the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1377 @file{.cvsignore} will always be sorted whenever you use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1378 @samp{cvs-mode-ignore} to add a file to it. This option is on by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1379 default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1380
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1381 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1382
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1384 @node Future enhancements, Bugs, Customization, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1385 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1386
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1387 @chapter Future enhancements
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1388 @cindex Enhancements
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1390 Pcl-cvs is still under development and needs a number of enhancements to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1391 be called complete. Below is my current wish-list for future releases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1392 of pcl-cvs. Please, let me know which of these features you want most.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1393 They are listed below in approximately the order that I currently think
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1394 I will implement them in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1396 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1397 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1398 Rewritten parser code. There are many situations where pcl-cvs will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1399 fail to recognize the output from CVS. The situation could be greatly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1400 increased.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1401
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1402 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1403 @samp{cvs-status}. This will run @samp{cvs status} in a directory and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1404 produce a buffer that looks pretty much like the current *cvs* buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1405 That buffer will include information for all version-controlled files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1406 (There will be a simple keystroke to remove all "uninteresting" files,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1407 that is, files that are "Up-to-date"). In this new buffer you will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1408 able to update a file, commit a file, et c. The big win with this is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1409 that you will be able to watch the differences between your current
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1410 working file and the head revision in the repository before you update
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1411 the file, and you can then choose to update it or let it wait for a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1412 while longer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1414 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1415 Log mode. When this mode is finished you will be able to move around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1416 (using @kbd{n} and @kbd{p}) between the revisions of a file, mark two of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1417 them, and run a diff between them. You will be able to hide branches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1418 (similar to the way you can hide sub-paragraphs in outline-mode) and do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1419 merges between revisions. Other ideas about this are welcome.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1420
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1421 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1422 The current model for marks in the *cvs* buffer seems to be confusing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1423 I am considering to use the VM model instead, where marks are normally
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1424 inactive. To activate the mark, you issue a command like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1425 @samp{cvs-mode-next-command-uses-marks}. I might implement a flag so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1426 that you can use either version. Feedback on this before I start coding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1427 it is very welcome.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1429 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1430 It should be possible to run commands such as @samp{cvs log}, @samp{cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1431 status} and @samp{cvs commit} directly from a buffer containing a file,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1432 instead of having to @samp{cvs-update}. If the directory contains many
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1433 files the @samp{cvs-update} can take quite some time, especially on a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1434 slow machine. I planed to put these kind of commands on the prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1435 @kbd{C-c C-v}, but that turned out to be used by for instance c++-mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1436 If you have any suggestions for a better prefix key, please let me know.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1437
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1438 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1439 Increased robustness. For instance, you can not currently press
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1440 @kbd{C-g} when you are entering the description of a file that you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1441 adding without confusing pcl-cvs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1442
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1443 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1444 Support for multiple active *cvs* buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1445
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1446 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1447 Dired support. I have an experimental @file{dired-cvs.el} that works
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1448 together with CVS 1.2. Unfortunately I wrote it on top of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1449 non-standard @file{dired.el}, so it must be rewritten.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1450
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1451 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1452 An ability to send user-supplied options to all the cvs commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1454 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1455 Pcl-cvs is not at all clever about what it should do when @samp{cvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1456 update} runs a program (due to the @samp{-u} option in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1457 @file{modules} file --- see @samp{cvs(5)}). The current release uses a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1458 regexp to search for the end. At the very least that regexp should be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1459 configured for different modules. Tell me if you have any idea about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1460 what is the right thing to do. In a perfect world the program should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1461 also be allowed to print to @samp{stderr} without causing pcl-cvs to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1462 crash.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1463 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1465
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1466 If you miss something in this wish-list, let me know! I don't promise
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1467 that I will write it, but I will at least try to coordinate the efforts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1468 of making a good Emacs front end to CVS. See @xref{Bugs} for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1469 information about how to reach me.@refill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1471 So far, I have written most of pcl-cvs in my all-to-rare spare time. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1472 you want pcl-cvs to be developed faster you can write a contract with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1473 Signum Support to do the extension. You can reach Signum Support by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1474 email to @samp{info@@signum.se} or via mail to Signum Support AB, Box
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1475 2044, S-580 02 Linkoping, Sweden. Phone: +46 (0) 13 - 21 46 00. Fax:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1476 +46 (0) 13 - 21 47 00.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1478
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1479 @node Bugs, COPYING, Future enhancements, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1480 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1481
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1482 @chapter Bugs (known and unknown)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1483 @cindex Reporting bugs and ideas
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1484 @cindex Bugs, how to report them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1485 @cindex Author, how to reach
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1486 @cindex Email to the author
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1487 @cindex Known bugs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1488 @cindex Bugs, known
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1489 @cindex FAQ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1490 @cindex Problems, list of common
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1492 If you find a bug or misfeature, don't hesitate to tell me! Send email
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1493 to @samp{ceder@@lysator.liu.se}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1495 If you have ideas for improvements, or if you have written some
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1496 extensions to this package, I would like to hear from you. I hope that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1497 you find this package useful!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1499 Below is a partial list of currently known problems with pcl-cvs version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1500 1.05.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1501
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1502 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1503 @item Commit causes Emacs to hang
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1504 Emacs waits for the @samp{cvs commit} command to finish before you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1505 do anything. If you start a background job from the loginfo file you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1506 must take care that it closes @samp{stdout} and @samp{stderr} if you do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1507 not want to wait for it. (You do that with @samp{background-command &>-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1508 2&>- &} if you are starting @samp{background-command} from a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1509 @samp{/bin/sh} shell script).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1510
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1511 Your emacs will also hang if there was a lock file in the repository.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1512 In this case you can type @kbd{C-g} to get control over your emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1513 again.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1514
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1515 @item Name clash in Emacs 19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1516 This is really a bug in Elib or the Emacs 19 distribution. Both Elib and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1517 Emacs 19.6 through at least 19.10 contains a file named
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1518 @file{cookie.el}. One of the files will have to be renamed, and we are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1519 currently negotiating about which of the files to rename.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1521 @item Commands while cvs-update is running
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1522 It is possible to type commands in the *cvs* buffer while the update is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1523 running, but error messages is all that you will get. The error
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1524 messages should be better.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1526 @item Unexpected output from CVS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1527 Unexpected output from CVS confuses pcl-cvs. It will currently create a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1528 bug report that you can mail to me. It should do something more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1529 civilized.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1530 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1531
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1532
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1533 @node COPYING, Function and Variable Index, Bugs, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1534 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1535
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1536 @appendix GNU GENERAL PUBLIC LICENSE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1537 @c @include gpl.texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1539
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1540 @node Function and Variable Index, Concept Index, COPYING, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1541 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1542
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1543 @unnumbered Function and Variable Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1545 @printindex fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1546
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1547
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1548 @node Concept Index, Key Index, Function and Variable Index, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1549 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1551 @unnumbered Concept Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1552
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1553 @printindex cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1554
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1555
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1556 @node Key Index, , Concept Index, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1557 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1558
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1559 @unnumbered Key Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1561 @printindex ky
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1562
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1563 @summarycontents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1564 @contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1565 @bye