29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1 \input texinfo @c -*-texinfo-*-
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
2
|
33670
|
3 @c "@(#)$Name: $:$Id: pcl-cvs.texi,v 1.6 2000/10/07 19:15:54 eliz Exp $"
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
4
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
5 @c Documentation for the GNU Emacs CVS mode.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
6 @c Copyright (C) 1991-2000 Free Software Foundation, Inc.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
7
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
8 @c This file is part of GNU Emacs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
9
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
10 @c GNU Emacs is free software; you can redistribute it and/or modify
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
11 @c it under the terms of the GNU General Public License as published by
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
12 @c the Free Software Foundation; either version 2 of the License,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
13 @c or (at your option) any later version.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
14
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
15 @c GNU Emacs is distributed in the hope that it will be useful,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
16 @c but WITHOUT ANY WARRANTY; without even the implied warranty of
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
17 @c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
18 @c GNU General Public License for more details.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
19
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
20 @c You should have received a copy of the GNU General Public License
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
21 @c along with pcl-cvs; see the file COPYING. If not, write to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
22 @c the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
23
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
24 @c %**start of header
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
25 @setfilename ../info/pcl-cvs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
26 @settitle PCL-CVS - Emacs Front-End to CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
27 @c %**end of header
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
28
|
33670
|
29 @dircategory Emacs
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
30 @direntry
|
33670
|
31 * PCL-CVS: (pcl-cvs). Emacs front-end to CVS.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
32 @end direntry
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
33 @setchapternewpage on
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
34
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
35 @ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
36 Copyright @copyright{} 1991-2000 Free Software Foundation, Inc.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
37
|
32042
|
38 Permission is granted to copy, distribute and/or modify this document
|
|
39 under the terms of the GNU Free Documentation License, Version 1.1 or
|
|
40 any later version published by the Free Software Foundation; with the
|
|
41 Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and
|
|
42 ``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU
|
|
43 Manual'', and with the Back-Cover Texts as in (a) below. A copy of the
|
|
44 license is included in the section entitled ``GNU Free Documentation
|
|
45 License'' in the Emacs manual.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
46
|
32042
|
47 This document is part of a collection distributed under the GNU Free
|
|
48 Documentation License. If you want to distribute this document
|
|
49 separately from the collection, you can do so by adding a copy of the
|
|
50 license to the document, as described in section 6 of the license.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
51
|
32042
|
52 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
|
|
53 this GNU Manual, like GNU software. Copies published by the Free
|
|
54 Software Foundation raise funds for GNU development.''
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
55 @end ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
56
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
57 @synindex vr fn
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
58 @c The titlepage section does not appear in the Info file.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
59 @titlepage
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
60 @sp 4
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
61 @c The title is printed in a large font.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
62 @center @titlefont{User's Guide}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
63 @sp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
64 @center @titlefont{to}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
65 @sp
|
30855
|
66 @center @titlefont{PCL-CVS --- The Emacs Front-End to CVS}
|
29366
|
67 @ignore
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
68 @sp 2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
69 @center release 2.9
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
70 @c -release-
|
29366
|
71 @end ignore
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
72 @sp 3
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
73 @center Per Cederqvist
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
74 @center Stefan Monnier
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
75 @c -date-
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
76
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
77 @c The following two commands start the copyright page
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
78 @c for the printed manual. This will not appear in the Info file.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
79 @page
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
80 @vskip 0pt plus 1filll
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
81 Copyright @copyright{} 1991-2000 Free Software Foundation, Inc.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
82
|
32042
|
83 Permission is granted to copy, distribute and/or modify this document
|
|
84 under the terms of the GNU Free Documentation License, Version 1.1 or
|
|
85 any later version published by the Free Software Foundation; with the
|
|
86 Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and
|
|
87 ``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU
|
|
88 Manual'', and with the Back-Cover Texts as in (a) below. A copy of the
|
|
89 license is included in the section entitled ``GNU Free Documentation
|
|
90 License'' in the Emacs manual.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
91
|
32042
|
92 This document is part of a collection distributed under the GNU Free
|
|
93 Documentation License. If you want to distribute this document
|
|
94 separately from the collection, you can do so by adding a copy of the
|
|
95 license to the document, as described in section 6 of the license.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
96
|
32042
|
97 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
|
|
98 this GNU Manual, like GNU software. Copies published by the Free
|
|
99 Software Foundation raise funds for GNU development.''
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
100 @end titlepage
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
101
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
102 @c ================================================================
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
103 @c The real text starts here
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
104 @c ================================================================
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
105
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
106 @node Top, About PCL-CVS, (dir), (dir)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
107 @ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
108 @top PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
109
|
29366
|
110 This info manual describes PCL-CVS, the GNU Emacs front-end to CVS. It
|
|
111 is nowhere near complete, so you are advised to use @kbd{M-x
|
|
112 customize-group RET pcl-cvs RET} and to look at the documentation strings
|
|
113 of the various commands and major modes for further information.
|
|
114 @c This manual is updated to release 2.5 of PCL-CVS.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
115 @end ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
116
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
117 @menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
118 * About PCL-CVS:: Installation, credits, history, ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
119
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
120 * Getting started:: An introduction with a walk-through example.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
121 * Buffer contents:: An explanation of the buffer contents.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
122 * Selected files:: To which files are commands applied.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
123 * Commands:: All commands, grouped by type.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
124
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
125 * Log Edit Mode:: Major mode to edit log messages.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
126 * Log View Mode:: Major mode to browse log changes.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
127 * CVS Status Mode:: Major mode to view CVS' status output.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
128 * Customization:: How you can tailor PCL-CVS to suit your needs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
129 * Bugs:: Bugs (known and unknown).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
130
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
131 * Function and Variable Index:: List of functions and variables.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
132 * Concept Index:: List of concepts.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
133 * Key Index:: List of keystrokes.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
134
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
135 @detailmenu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
136 --- The Detailed Node Listing ---
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
137
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
138 About PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
139
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
140 * Contributors:: Contributors to PCL-CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
141 * Installation::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
142
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
143 Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
144
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
145 * Entering PCL-CVS:: Commands to invoke PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
146 * Setting flags:: Setting flags for CVS commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
147 * Updating the buffer::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
148 * Movement commands:: How to move up and down in the buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
149 * Marking files:: How to mark files that other commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
150 will later operate on.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
151 * Committing changes:: Checking in your modifications to the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
152 CVS repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
153 * Editing files:: Loading files into Emacs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
154 * Getting info about files:: Display the log and status of files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
155 * Adding and removing files:: Adding and removing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
156 * Undoing changes:: Undoing changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
157 * Removing handled entries:: Uninteresting lines can easily be removed.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
158 * Ignoring files:: Telling CVS to ignore generated files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
159 * Viewing differences:: Commands to @samp{diff} different versions.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
160 * Invoking Ediff:: Running @samp{ediff} from @samp{*cvs*} buffer.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
161 * Updating files:: Updating files that Need-update.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
162 * Tagging files:: Tagging files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
163 * Miscellaneous commands:: Miscellaneous commands.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
164
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
165 Customization
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
166
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
167 * Customizing Faces::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
168
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
169 @end detailmenu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
170 @end menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
171
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
172 @node About PCL-CVS, Getting started, Top, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
173 @chapter About PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
174 @cindex About PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
175
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
176 PCL-CVS is a front-end to CVS versions 1.9 and later.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
177 It concisely shows the present status of a checked out module in an
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
178 Emacs buffer and provides single-key access to the most frequently used CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
179 commands.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
180 For Emacs users accustomed to VC, PCL-CVS can be thought of as a replacement
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
181 for VC-dired (@pxref{(emacs)VC Dired Mode}) specifically designed for CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
182
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
183 PCL-CVS was originally written many years ago by Per Cederqvist who
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
184 proudly maintained it until January 1996, at which point he released the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
185 beta version 2.0b2 and passed on the maintainership to Greg A Woods.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
186 Development stayed mostly dormant for a few years during which the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
187 version 2.0 never seemed to be able to leave the ``beta'' stage while a
|
29366
|
188 separate XEmacs version was slowly splitting away. In late 1998,
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
189 Stefan Monnier picked up development again, adding some major new
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
190 functionality and taking over maintenance.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
191
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
192 As of Emacs-21, PCL-CVS is part of the standard Emacs distribution.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
193
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
194 @menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
195 * Contributors:: Contributors to PCL-CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
196 * Installation::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
197 @end menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
198
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
199 @node Contributors, Installation, About PCL-CVS, About PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
200 @section Contributors to PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
201 @cindex Contributors
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
202 @cindex Authors
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
203
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
204 Contributions to the package are welcome. I have limited time to work
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
205 on this project, but I will gladly add any code that you contribute to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
206 me to this package (@pxref{Bugs}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
207
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
208 The following persons have made contributions to PCL-CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
209
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
210 @itemize @bullet
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
211 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
212 Brian Berliner wrote CVS, together with some other contributors.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
213 Without his work on CVS this package would be useless@dots{}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
214
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
215 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
216 Per Cederqvist wrote most of the otherwise unattributed functions in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
217 PCL-CVS as well as all documentation.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
218
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
219 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
220 Inge Wallin (@samp{inge@@lysator.liu.se}) wrote the skeleton to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
221 @file{pcl-cvs.texi}, and gave useful comments on it. He also wrote
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
222 the files @file{elib-node.el} and @file{compile-all.el}. The file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
223 @file{cookie.el} was inspired by Inge.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
224
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
225 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
226 Linus Tolke (@samp{linus@@lysator.liu.se}) contributed useful comments
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
227 on both the functionality and the documentation.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
228
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
229 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
230 Jamie Zawinski (@samp{jwz@@jwz.com}) contributed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
231 @file{pcl-cvs-lucid.el}, which was later renamed to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
232 @file{pcl-cvs-xemacs.el}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
233
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
234 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
235 Leif Lonnblad contributed RCVS support. (Since superceded by the new
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
236 remote CVS support.)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
237
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
238 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
239 Jim Blandy (@samp{jimb@@cyclic.com}) contributed hooks to automatically
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
240 guess CVS log entries from ChangeLog contents; and initial support of
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
241 the new Cygnus / Cyclic remote CVS; as well as various sundry bug fixes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
242 and cleanups.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
243
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
244 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
245 Jim Kingdon (@samp{kingdon@@cyclic.com}) contributed lots of fixes to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
246 the build and install procedure.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
247
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
248 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
249 Greg A. Woods (@samp{woods@@weird.com}) contributed code to implement
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
250 the use of per-file diff buffers; and vendor join diffs with emerge and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
251 ediff; as well as various and sundry bug fixes and cleanups.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
252
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
253 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
254 Greg Klanderman (@samp{greg.klanderman@@alum.mit.edu}) implemented
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
255 toggling of marked files; setting of CVS command flags via prefix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
256 arguments; updated the XEmacs support; updated the manual; and fixed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
257 numerous bugs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
258
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
259 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
260 Stefan Monnier (@samp{monnier@@cs.yale.edu}) added a slew of other
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
261 features and introduced even more new bugs. If there's any bug left,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
262 you can be sure it's his.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
263
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
264 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
265 Masatake YAMATO (@samp{masata-y@@is.aist-nara.ac.jp}) graciously
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
266 contributed the cvstree code to display a tree of tags which was later
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
267 superseded by the new cvs-status-mode.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
268
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
269 @end itemize
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
270
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
271 Apart from these, a lot of people have sent us suggestions, ideas,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
272 requests, bug reports and encouragement. Thanks a lot! Without you
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
273 there would be no new releases of PCL-CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
274
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
275
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
276 @node Installation, , Contributors, About PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
277 @section Installation
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
278 @cindex Installation
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
279
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
280 As mentioned above, PCL-CVS comes preinstalled since Emacs-21.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
281 If you're using Emacs 20, you can download an older version of PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
282 from @url{ftp://flint.cs.yale.edu/pub/monnier/pcl-cvs}. That version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
283 also works on XEmacs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
284
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
285 If you are running XEmacs 21.0 or later, PCL-CVS is available in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
286 pre-compiled package form. Please refer to the XEmacs manual for
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
287 instructions regarding package selection and installation. Currently,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
288 that PCL-CVS package also requires you to have installed the xemacs-base,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
289 elib, and dired packages.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
290
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
291 If you have @TeX{} installed at your site, you can make a typeset manual
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
292 from @file{pcl-cvs.texi}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
293
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
294 @enumerate
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
295 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
296 Run @TeX{} by typing @samp{texi2dvi pcl-cvs.texi}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
297 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
298 Convert the resulting device independent file @file{pcl-cvs.dvi} to a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
299 form which your printer can output and print it. If you have a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
300 postscript printer there is a program, @code{dvi2ps}, which does. There
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
301 is also a program which comes together with @TeX{}, @code{dvips}, which
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
302 you can use.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
303 @end enumerate
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
304
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
305
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
306 @node Getting started, Buffer contents, About PCL-CVS, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
307 @chapter Getting started
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
308 @cindex Introduction
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
309 @cindex Example run
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
310
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
311 This document assumes that you know what CVS is, and that you at least
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
312 know the fundamental concepts of CVS. If that is not the case you
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
313 should read the man page for CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
314
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
315 PCL-CVS is only useful once you have checked out a module. So before
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
316 you invoke it you must have a copy of a module somewhere in the file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
317 system.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
318
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
319 You can invoke PCL-CVS by typing @kbd{M-x cvs-examine RET}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
320 You can also invoke it via the menubar, under Tools.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
321 Or if you prefer, you can also invoke PCL-CVS by simply visiting the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
322 CVS administrative subdirectory of your module, with a prefix argument.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
323 F.ex. @kbd{C-u C-x 5 f ~/my/project/CVS RET}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
324
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
325 The function @code{cvs-examine} will ask for a directory. The command
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
326 @samp{cvs -n update} will be run in that directory. (It should contain
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
327 files that have been checked out from a CVS archive.) The output from
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
328 @code{cvs} will be parsed and presented in a table in a buffer called
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
329 @samp{*cvs*}. It might look something like this:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
330
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
331 @example
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
332 Repository : /usr/CVSroot
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
333 Module : test
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
334 Working dir: /users/ceder/FOO/test
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
335
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
336
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
337 In directory .:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
338 Need-Update bar
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
339 Need-Update file.txt
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
340 Modified namechange
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
341 Need-Update newer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
342 In directory sub:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
343 Modified ChangeLog
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
344
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
345 --------------------- End ---------------------
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
346 -- last cmd: cvs -f -z6 -n update -d -P --
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
347 @end example
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
348
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
349 In this example, your repository is in @file{/usr/CVSroot} and CVS has
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
350 been run in the directory @file{/users/ceder/FOO/test}. The three files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
351 (@file{bar}, @file{file.txt} and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
352 @file{newer}) that are marked with @samp{Need-Update} have been changed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
353 by someone else in the CVS repository. Two files (@file{namechange}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
354 and @file{sub/ChangeLog}) have been modified locally, and need to be
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
355 checked in.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
356
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
357 You can move the cursor up and down in the buffer with @kbd{C-n} and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
358 @kbd{C-p} or @kbd{n} and @kbd{p}. If you press @kbd{c} on one of the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
359 @samp{Modified} files that file will be checked in to the CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
360 repository. @xref{Committing changes}. You can also press @kbd{O} to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
361 update any of the files that are marked @samp{Need-Update}. You can
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
362 also run @kbd{M-x cvs-update RET} (bound to @kbd{M-u} in the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
363 @samp{*cvs*} buffer) to update all the files.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
364
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
365 You can then press @kbd{=} to easily get a @samp{diff} between your
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
366 modified file and the base version that you started from or you can
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
367 press @kbd{l} to get the output from @samp{cvs log}. Many more such
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
368 commands are available simply by pressing a key (@pxref{Getting info
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
369 about files}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
370
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
371 @node Buffer contents, Selected files, Getting started, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
372 @chapter Buffer contents
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
373 @cindex Buffer contents
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
374
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
375 The display contains several columns, some of which are optional.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
376 They contain, from left to right:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
377
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
378 @itemize @bullet
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
379
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
380 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
381 Optionally, the head revision of the file. This is the latest version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
382 found in the repository. It might also contain (instead of the head
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
383 revision) a sub status which typically gives further information about
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
384 how we got to the current state, for example @samp{patched},
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
385 @samp{merged}, ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
386
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
387 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
388 An asterisk when the file is @dfn{marked} (@pxref{Selected
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
389 files}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
390
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
391 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
392 The actual status of the file wrt to the repository. @xref{Buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
393 contents}, for more information.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
394
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
395 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
396 Optionally, the base revision of the file. This is the version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
397 which the copy in your working directory is based upon.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
398
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
399 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
400 The file name.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
401
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
402 @end itemize
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
403
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
404 The @samp{file status} field can have the following values:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
405
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
406 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
407
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
408 @item Modified
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
409 The file is modified in your working directory, and there was no
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
410 modification to the same file in the repository. This status can have
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
411 the following substatus:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
412
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
413 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
414
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
415 @item merged
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
416 The file was modified in your working directory, and there were
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
417 modifications in the repository as well, but they were merged
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
418 successfully, without conflict, in your working directory.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
419
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
420 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
421
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
422 @item Conflict
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
423 A conflict was detected while trying to merge your changes to @var{file}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
424 with changes from the repository. @var{file} (the copy in your
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
425 working directory) is now the output of the @samp{rcsmerge} command on
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
426 the two versions; an unmodified copy of your file is also in your
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
427 working directory, with the name @file{.#@var{file}.@var{version}},
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
428 where @var{version} is the RCS revision that your modified file started
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
429 from. @xref{Viewing differences}, for more details.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
430
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
431 A conflict can also come from a disagreement on the existence of the file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
432 rather than on its content. This case is indicated by the following
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
433 possible substatus:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
434
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
435 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
436
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
437 @item removed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
438 The file is locally removed but a new revision has been committed to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
439 the repository by someone else.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
440
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
441 @item added
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
442 The file is locally added and has also been added to the repository
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
443 by someone else.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
444
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
445 @item modified
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
446 The file is locally modified but someone else has removed it from the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
447 repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
448
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
449 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
450
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
451 @item Added
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
452 The file has been added by you, but it still needs to be checked in to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
453 the repository.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
454
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
455 @item Removed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
456 The file has been removed by you, but it still needs to be checked in to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
457 the repository. You can resurrect it by typing @kbd{a} (@pxref{Adding
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
458 and removing files}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
459
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
460 @item Unknown
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
461 A file that was detected in your directory, but that neither appears in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
462 the repository, nor is present on the list of files that CVS should
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
463 ignore.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
464
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
465 @item Up-to-date
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
466 The file is up to date with respect to the version in the repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
467 This status can have a substatus of:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
468
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
469 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
470
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
471 @item added
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
472 You have just added the file to the repository.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
473
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
474 @item updated
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
475 The file was brought up to date with respect to the repository. This is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
476 done for any file that exists in the repository but not in your source,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
477 and for files that you haven't changed but are not the most recent
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
478 versions available in the repository.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
479
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
480 @item patched
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
481 The file was brought up to date with respect to the remote repository by
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
482 way of fetching and applying a patch to the file in your source. This
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
483 is equivalent to @samp{updated} except that CVS decided to use a hopefully
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
484 more efficient method.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
485
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
486 @item committed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
487 You just committed the file.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
488
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
489 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
490
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
491 @item Need-Update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
492 Either a newer version than the one in your source is available in the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
493 repository and you have not modified your checked out version, or the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
494 file exists in the repository but not in your source. Use
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
495 @samp{cvs-mode-update} bound to @kbd{O} to update the file.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
496
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
497 @item Need-Merge
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
498 You have modified the checked out version of the file, and a newer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
499 version is available in the repository. A merge will take place when
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
500 you run a @samp{cvs-update}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
501
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
502 @item Missing
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
503 The file has been unexpectedly removed from your working directory
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
504 although it has not been @samp{cvs remove}d.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
505
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
506 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
507
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
508 @node Selected files, Commands, Buffer contents, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
509 @chapter Selected files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
510 @cindex Selected files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
511 @cindex Marked files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
512 @cindex File selection
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
513 @cindex Active files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
514 @cindex Applicable
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
515
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
516 Many of the commands work on the current set of @dfn{selected} files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
517 which can be either the set of marked files (if any file is marked and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
518 marks are no ignored) or whichever file or directory the cursor is on.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
519
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
520 If a directory is selected but the command cannot be applied to a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
521 directory, then it will be applied to the set of files under this
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
522 directory which are in the @samp{*cvs*} buffer.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
523
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
524 Furthermore, each command only operates on a subset of the selected
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
525 files, depending on whether or not the command is @dfn{applicable} to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
526 each file (based on the file's status). For example,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
527 @code{cvs-mode-commit} is not applicable to a file whose status is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
528 @samp{Need-Update}. If it should happen that PCL-CVS guesses the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
529 applicability wrong, you can override it with the special prefix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
530 @code{cvs-mode-force-command} normally bound to @kbd{M-f} (and file a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
531 bug report). The applicability rule can be slightly changed with
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
532 @code{cvs-allow-dir-commit} and @code{cvs-force-dir-tag}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
533
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
534 By default, marks are always in effect (you may change this, however, by
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
535 setting the variable @code{cvs-default-ignore-marks}) except for the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
536 commands that @samp{tag} or @samp{diff} a file (which can be changed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
537 with the variable @code{cvs-invert-ignore-marks}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
538
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
539 In addition, you may use the special prefix @code{cvs-mode-toggle-marks}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
540 normally bound to @key{T} to toggle the use of marks for the following
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
541 command.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
542
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
543 This scheme might seem a little complicated, but once one gets used to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
544 it, it is quite powerful.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
545
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
546 For commands to mark and unmark files, see @xref{Marking files}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
547
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
548 @node Commands, Log Edit Mode, Selected files, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
549 @chapter Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
550
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
551 @iftex
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
552 This chapter describes all the commands that you can use in PCL-CVS.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
553 @end iftex
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
554 @ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
555 The nodes in this menu contains explanations about all the commands that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
556 you can use in PCL-CVS. They are grouped together by type.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
557 @end ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
558
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
559 @menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
560 * Entering PCL-CVS:: Commands to invoke PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
561 * Setting flags:: Setting flags for CVS commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
562 * Updating the buffer::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
563 * Movement commands:: How to move up and down in the buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
564 * Marking files:: How to mark files that other commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
565 will later operate on.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
566 * Committing changes:: Checking in your modifications to the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
567 CVS repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
568 * Editing files:: Loading files into Emacs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
569 * Getting info about files:: Display the log and status of files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
570 * Adding and removing files:: Adding and removing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
571 * Undoing changes:: Undoing changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
572 * Removing handled entries:: Uninteresting lines can easily be removed.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
573 * Ignoring files:: Telling CVS to ignore generated files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
574 * Viewing differences:: Commands to @samp{diff} different versions.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
575 * Invoking Ediff:: Running @samp{ediff} from @samp{*cvs*} buffer.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
576 * Updating files:: Updating files that Need-update.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
577 * Tagging files:: Tagging files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
578 * Miscellaneous commands:: Miscellaneous commands.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
579 @end menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
580
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
581
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
582 @node Entering PCL-CVS, Setting flags, Commands, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
583 @section Entering PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
584 @findex cvs-update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
585 @findex cvs-examine
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
586 @findex cvs-status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
587 @findex cvs-checkout
|
32042
|
588 @findex cvs-quickdir
|
|
589 @cindex Creating the *cvs* buffer
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
590
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
591 Most commands in PCL-CVS require that you have a @samp{*cvs*}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
592 buffer. The commands that you use to get one are listed below.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
593 For each, a @samp{cvs} process will be run, the output will be parsed by
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
594 PCL-CVS, and the result will be printed in the @samp{*cvs*} buffer (see
|
32042
|
595 @pxref{Buffer contents} for a description of the contents).
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
596
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
597 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
598
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
599 @item M-x cvs-update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
600 Run a @samp{cvs update} command. You will be asked for the directory
|
32042
|
601 in which the @samp{cvs update} will be run.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
602
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
603 @item M-x cvs-examine
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
604 Run a @samp{cvs -n update} command. This is identical to the previous
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
605 command, except that it will only check what needs to be done but will
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
606 not change anything. You will be asked for the directory in
|
32042
|
607 which the @samp{cvs -n update} will be run.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
608
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
609 @item M-x cvs-status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
610 Run a @samp{cvs status} command. You will be asked for the directory
|
32042
|
611 in which the @samp{cvs status} will be run.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
612
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
613 @item M-x cvs-checkout
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
614 Run a @samp{cvs checkout} command. You will be asked for the directory
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
615 in which the @samp{cvs update} will be run and the module to be checked
|
32042
|
616 out.
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
617
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
618 @item M-x cvs-quickdir
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
619 Populate the @samp{*cvs*} buffer by just looking at the @file{CVS/Entries}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
620 files. This is very much like @code{cvs-examine} except that it does
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
621 not access the CVS repository which is a major advantage when the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
622 repository is far away. But of course, it will not be able to detect
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
623 when a file needs to be updated or merged.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
624
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
625 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
626
|
32042
|
627 The first four of
|
32256
|
628 those commands are also reachable from the menubar
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
629 under @samp{Tools->PCL-CVS}. Finally an alternative way is to visit
|
32042
|
630 the CVS administrative subdirectory in your work area with a simple
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
631 prefix argument. For example @kbd{C-u C-x C-f ~/my/work/CVS RET}. This
|
32042
|
632 will by default run @code{cvs-quickdir} but the specific behavior can be
|
29349
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
633 changed with @code{cvs-dired-action} and @code{cvs-dired-use-hook}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
634
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
635 By default, the commands above will descend recursively into
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
636 subdirectories. You can avoid that behavior by including @samp{-l} in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
637 the flags for the command. These flags can be set by giving a prefix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
638 argument to the command (e.g., by typing
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
639 @kbd{C-u M-x cvs-update RET -l RET}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
640
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
641
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
642 @node Setting flags, Updating the buffer, Entering PCL-CVS, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
643 @section Setting flags for CVS commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
644 @cindex Special prefix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
645
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
646 This section describes the convention used by nearly all PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
647 commands for setting optional flags sent to CVS. A single @kbd{C-u}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
648 prefix argument is used to cause the command to prompt for flags to be
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
649 used for the current invocation of the command only. Two @kbd{C-u} prefix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
650 arguments are used to prompt for flags which will be set permanently, for the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
651 current invocation and all that follow, until the flags are changed, or
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
652 unless temporary flags are set which override them.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
653
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
654 Perhaps an example or two is in order. Say you are about to add a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
655 binary file to the repository, and want to specify the flags @samp{-kb}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
656 to @samp{cvs add}. You can type @kbd{C-u a -kb RET}, enter the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
657 description, and the file will be added. Subsequent adds will use the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
658 previously prevailing flags.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
659
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
660 As a second example, say you are about to perform a diff and want to see
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
661 the result in unified diff format, i.e. you'd like to pass the flag
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
662 @samp{-u} to both @samp{cvs diff} and @samp{diff}. You'd also like all
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
663 subsequent diffs to use this flag. You can type @kbd{C-u C-u = -u RET}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
664 and the diff will be performed, and the default flags will be set to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
665 @code{("-u")}. You can of course override this flag for a single diff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
666 by using a single @kbd{C-u} prefix argument.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
667
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
668 Additionally to this, some commands can take @dfn{special prefix} arguments.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
669 These work as follows: when called with a @kbd{C-u} prefix, the user is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
670 prompted for a new value of the special prefix and the special prefix is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
671 activated for the next command. When called without the @kbd{C-u}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
672 prefix, the special prefix is re-activated (with the same value as last
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
673 time) for the next command. Calling the prefix command again when it's
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
674 already activated deactivates it. Calling it with the @kbd{C-u C-u}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
675 prefix activates it for all subsequent commands until you deactivate it
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
676 explicitly. The special prefixes are:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
677
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
678 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
679
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
680 @item T
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
681 Toggles whether or not marks will be active in the next command.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
682
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
683 @item b
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
684 Provide the next command with a branch (can be any version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
685 specifier) to work on.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
686
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
687 @item B
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
688 Secondary branch argument. Only meaningful if `b' is also used.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
689 It can be used to provide a second branch argument to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
690 @code{cvs-mode-diff} or to @code{cvs-mode-update}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
691
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
692 @item M-f
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
693 Forces the next command to apply to every selected file rather than only
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
694 to the ones PCL-CVS thinks are relevant.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
695
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
696 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
697
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
698 @node Updating the buffer, Movement commands, Setting flags, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
699 @section Updating the @samp{*cvs*} buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
700 @findex cvs-update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
701 @findex cvs-examine
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
702 @findex cvs-status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
703 @findex cvs-mode-update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
704 @findex cvs-mode-examine
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
705 @findex cvs-mode-status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
706
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
707 The following commands can be used from within the @samp{*cvs*} buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
708 to update the display:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
709
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
710 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
711
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
712 @item M-u
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
713 This runs the command @samp{cvs-update}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
714
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
715 @item M-e
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
716 This runs the command @samp{cvs-examine}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
717
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
718 @item M-s
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
719 This runs the command @samp{cvs-status}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
720
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
721 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
722
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
723 Additionally to the above commands which operate on the whole module,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
724 you can run the equivalent CVS command on just a subset of the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
725 files/directories with
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
726
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
727 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
728
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
729 @item O
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
730 Runs @code{cvs-mode-update} on the selected files. When run on the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
731 top level directory, this is equivalent to @kbd{M-u}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
732
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
733 @item e
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
734 Runs @code{cvs-mode-examine} on the selected files. When run on the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
735 top level directory, this is equivalent to @kbd{M-e}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
736
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
737 @item s
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
738 Runs @code{cvs-mode-status} on the selected files. When run on the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
739 top level directory, this is equivalent to @kbd{M-s} except that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
740 CVS output will be shown in a @samp{*cvs-info*} buffer that will be
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
741 put in @samp{cvs-status-mode}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
742
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
743 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
744
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
745
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
746 @node Movement commands, Marking files, Updating the buffer, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
747 @section Movement Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
748 @cindex Movement Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
749 @findex cvs-mode-next-line
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
750 @findex cvs-mode-previous-line
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
751 @kindex SPC - Move down one file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
752 @kindex n - Move down one file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
753 @kindex p - Move up one file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
754
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
755 You can use most normal Emacs commands to move forward and backward in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
756 the buffer. Some keys are rebound to functions that take advantage of
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
757 the fact that the buffer is a PCL-CVS buffer:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
758
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
759
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
760 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
761 @item SPC
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
762 @itemx n
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
763 These keys move the cursor one file forward, towards the end of the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
764 buffer (@code{cvs-mode-next-line}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
765
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
766 @itemx p
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
767 This key move one file backward, towards the beginning of the buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
768 (@code{cvs-mode-previous-line}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
769 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
770
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
771
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
772 @node Marking files, Committing changes, Movement commands, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
773 @section Marking files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
774 @cindex Selecting files (commands to mark files)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
775 @cindex Marking files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
776 @kindex m - marking a file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
777 @kindex M - marking all files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
778 @kindex u - unmark a file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
779 @kindex ESC DEL - unmark all files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
780 @kindex DEL - unmark previous file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
781 @kindex % - mark files matching regexp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
782 @kindex T - toggle marks
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
783 @findex cvs-mode-mark
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
784 @findex cvs-mode-unmark
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
785 @findex cvs-mode-mark-all-files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
786 @findex cvs-mode-unmark-all-files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
787 @findex cvs-mode-unmark-up
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
788 @findex cvs-mode-mark-matching-files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
789 @findex cvs-mode-toggle-marks
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
790
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
791 PCL-CVS works on a set of @dfn{selected files} (@pxref{Selected files}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
792 You can mark and unmark files with these commands:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
793
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
794 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
795 @item m
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
796 This marks the file that the cursor is positioned on. If the cursor is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
797 positioned on a directory all files in that directory will be marked.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
798 (@code{cvs-mode-mark}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
799
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
800 @item u
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
801 Unmark the file that the cursor is positioned on. If the cursor is on a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
802 directory, all files in that directory will be unmarked.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
803 (@code{cvs-mode-unmark}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
804
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
805 @item M
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
806 Mark @emph{all} files in the buffer (@code{cvs-mode-mark-all-files}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
807
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
808 @item M-@key{DEL}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
809 Unmark @emph{all} files (@code{cvs-mode-unmark-all-files}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
810
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
811 @item @key{DEL}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
812 Unmark the file on the previous line, and move point to that line
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
813 (@code{cvs-mode-unmark-up}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
814
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
815 @item @key{%}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
816 Mark all files matching a regular expression
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
817 (@code{cvs-mode-mark-matching-files}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
818
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
819 @item @key{T}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
820 Toggle use of marks for the next command (@code{cvs-mode-toggle-marks}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
821 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
822
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
823
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
824 @node Committing changes, Editing files, Marking files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
825 @section Committing changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
826 @cindex Committing changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
827 @cindex Ci
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
828 @findex cvs-mode-commit
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
829 @findex cvs-mode-commit-setup
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
830 @kindex c - commit files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
831 @kindex C - commit files with ChangeLog message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
832 @vindex cvs-auto-revert (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
833 @cindex Commit buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
834 @cindex Edit buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
835 @cindex Erasing commit message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
836 @cindex Reverting buffers after commit
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
837
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
838 Committing changes basically works as follows:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
839
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
840 @enumerate
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
841 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
842 After having selected the files you want to commit, you type either
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
843 @kbd{c} or @kbd{C} which brings up a special buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
844 @samp{*cvs-commit*}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
845
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
846 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
847 You type in the log message describing the changes you're about to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
848 commit (@pxref{Log Edit Mode}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
849
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
850 @item
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
851 When you're happy with it, you type @kbd{C-c C-c} to do the actual
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
852 commit.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
853
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
854 @end enumerate
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
855
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
856 There's no hidden state, so you can abort the process or pick it up
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
857 again at any time.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
858
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
859 The set of files actually committed is really decided only during the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
860 very last step, which is mixed blessing. It allows you to go back and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
861 change your mind about which files to commit, but it also means that you
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
862 might inadvertently change the set of selected files. To reduce the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
863 risk of error, @kbd{C-c C-c} will ask for confirmation if the set of
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
864 selected files has changed between the first step and the last. You can
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
865 change this last detail with @code{log-edit-confirm}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
866
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
867 As for the difference between @kbd{c} (i.e. @code{cvs-mode-commit}) and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
868 @kbd{C} (i.e. @code{cvs-mode-commit-setup}) is that the first gets you
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
869 straight to @samp{*cvs-commit*} without erasing it or changing anything
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
870 to its content, while the second will first erase @samp{*cvs-commit*}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
871 and try to initialize it with a sane default (it will do that by either
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
872 using a template provided by the CVS administrator or by extracting a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
873 relevant log message from a ChangeLog file).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
874
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
875 If you are editing the files in your Emacs an automatic
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
876 @samp{revert-buffer} will be performed. (If the file contains
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
877 @samp{$@asis{Id}$} keywords @samp{cvs commit} will write a new file with
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
878 the new values substituted. The auto-revert makes sure that you get
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
879 them into your buffer). The revert will not occur if you have modified
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
880 your buffer, or if @samp{cvs-auto-revert} is set to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
881 @samp{nil}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
882
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
883
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
884 @node Editing files, Getting info about files, Committing changes, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
885 @section Editing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
886 @cindex Editing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
887 @cindex Finding files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
888 @cindex Loading files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
889 @cindex Dired
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
890 @cindex Invoking dired
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
891 @findex cvs-mode-find-file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
892 @findex cvs-mode-find-file-other-window
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
893 @findex cvs-mode-add-change-log-entry-other-window
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
894 @kindex f - find file or directory
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
895 @kindex o - find file in other window
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
896 @kindex A - add ChangeLog entry
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
897
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
898 There are currently three commands that can be used to find a file (that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
899 is, load it into a buffer and start editing it there). These commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
900 work on the line that the cursor is situated at. They always ignore any marked
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
901 files.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
902
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
903 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
904 @item f
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
905 Find the file that the cursor points to. Run @samp{dired}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
906 @ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
907 (@pxref{Dired,,,Emacs})
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
908 @end ifinfo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
909 if the cursor points to a directory (@code{cvs-mode-find-file}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
910
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
911 @item o
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
912 Like @kbd{f}, but use another window
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
913 (@code{cvs-mode-find-file-other-window}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
914
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
915 @item A
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
916 Invoke @samp{add-change-log-entry-other-window} to edit a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
917 @samp{ChangeLog} file. The @samp{ChangeLog} will be found in the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
918 directory or a parent of the directory of the file the cursor points to.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
919 (@code{cvs-mode-add-change-log-entry-other-window}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
920 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
921
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
922
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
923 @node Getting info about files, Adding and removing files, Editing files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
924 @section Getting info about files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
925 @cindex Status (cvs command)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
926 @cindex Log (RCS/cvs command)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
927 @cindex Getting status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
928 @kindex l - run @samp{cvs log}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
929 @kindex s - run @samp{cvs status}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
930 @findex cvs-mode-log
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
931 @findex cvs-mode-status
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
932
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
933 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
934 @item l
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
935 Call the command @code{cvs-mode-log} which runs @samp{cvs log} on all
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
936 selected files, and show the result in a temporary @samp{*cvs-info*}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
937 buffer (@pxref{Log View Mode}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
938
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
939 @item s
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
940 Call the command @code{cvs-mode-status} which runs @samp{cvs status} on
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
941 all selected files, and show the result in a temporary @samp{*cvs-info*}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
942 buffer (@pxref{CVS Status Mode}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
943 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
944
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
945
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
946 @node Adding and removing files, Undoing changes, Getting info about files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
947 @section Adding and removing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
948 @cindex Adding files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
949 @cindex Removing files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
950 @cindex Resurrecting files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
951 @cindex Deleting files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
952 @cindex Putting files under CVS control
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
953 @kindex a - add a file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
954 @kindex r - remove a file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
955 @findex cvs-mode-add
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
956 @findex cvs-mode-remove-file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
957
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
958 The following commands are available to make it easy to add and remove
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
959 files from the CVS repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
960
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
961 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
962 @item a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
963 Add all selected files. This command can be used on @samp{Unknown}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
964 files (@pxref{Buffer contents}). The status of the file will change to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
965 @samp{Added}, and you will have to use @kbd{c} (@samp{cvs-mode-commit},
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
966 @pxref{Committing changes}) to really add the file to the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
967 repository.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
968
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
969 This command can also be used on @samp{Removed} files (before you commit
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
970 them) to resurrect them.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
971
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
972 The command that is run is @code{cvs-mode-add}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
973
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
974 @item r
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
975 This command removes the selected files (after prompting for
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
976 confirmation). The files are @samp{rm}ed from your directory and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
977 (unless the status was @samp{Unknown}; @pxref{Buffer contents}) they will
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
978 also be @samp{cvs remove}d. If the files were @samp{Unknown} they will
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
979 disappear from the buffer. Otherwise their status will change to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
980 @samp{Removed}, and you must use @kbd{c} (@samp{cvs-mode-commit},
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
981 @pxref{Committing changes}) to commit the removal.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
982
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
983 The command that is run is @code{cvs-mode-remove-file}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
984 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
985
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
986
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
987 @node Undoing changes, Removing handled entries, Adding and removing files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
988 @section Undoing changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
989 @cindex Undo changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
990 @cindex Flush changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
991 @kindex U - undo changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
992 @findex cvs-mode-undo-local-changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
993
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
994 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
995 @item U
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
996 If you have modified a file, and for some reason decide that you don't
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
997 want to keep the changes, you can undo them with this command. It works
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
998 by removing your working copy of the file and then getting the latest
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
999 version from the repository (@code{cvs-mode-undo-local-changes}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1000 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1001
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1002
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1003 @node Removing handled entries, Ignoring files, Undoing changes, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1004 @section Removing handled entries
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1005 @cindex Expunging uninteresting entries
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1006 @cindex Uninteresting entries, getting rid of them
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1007 @cindex Getting rid of uninteresting lines
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1008 @cindex Removing uninteresting (processed) lines
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1009 @cindex Handled lines, removing them
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1010 @kindex x - remove processed entries
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1011 @kindex C-k - remove selected entries
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1012 @findex cvs-mode-remove-handled
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1013 @findex cvs-mode-acknowledge
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1014 @findex cvs-mode-ignore
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1015
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1016 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1017 @item x
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1018 This command allows you to remove all entries that you have processed.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1019 More specifically, the lines for @samp{Up-to-date} files (@pxref{Buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1020 contents} are removed from the buffer. If a directory becomes empty the heading
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1021 for that directory is also removed. This makes it easier to get an
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1022 overview of what needs to be done.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1023
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1024 The command is called @code{cvs-mode-remove-handled}. If
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1025 @samp{cvs-auto-remove-handled} is set to non-@code{nil} this will
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1026 automatically be performed after every commit.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1027
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1028 @item C-k
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1029 This command can be used for lines that @samp{cvs-mode-remove-handled} would
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1030 not delete, but that you want to delete (@code{cvs-mode-acknowledge}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1031 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1032
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1033
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1034 @node Ignoring files, Viewing differences, Removing handled entries, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1035 @section Ignoring files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1036 @kindex i - ignoring files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1037 @findex cvs-mode-ignore
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1038
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1039 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1040 @item i
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1041 Arrange so that CVS will ignore the selected files. The file names are
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1042 added to the @file{.cvsignore} file in the corresponding directory. If
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1043 the @file{.cvsignore} doesn't exist it will be created.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1044
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1045 The @file{.cvsignore} file should normally be added to the repository,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1046 but you could ignore it also if you like it better that way.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1047
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1048 This runs @code{cvs-mode-ignore}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1049 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1050
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1051 @node Viewing differences, Invoking Ediff, Ignoring files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1052 @section Viewing differences
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1053 @cindex Diff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1054 @cindex Invoking ediff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1055 @cindex Conflicts, how to resolve them
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1056 @cindex Viewing differences
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1057 @kindex d= - run @samp{cvs diff}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1058 @kindex = - run @samp{cvs diff}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1059 @kindex dh - diff against head of repository
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1060 @kindex dv - diff against vendor branch
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1061 @findex cvs-mode-diff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1062 @findex cvs-mode-diff-backup
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1063 @findex cvs-mode-diff-head
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1064 @findex cvs-mode-diff-vendor
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1065 @vindex cvs-invert-ignore-marks
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1066
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1067 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1068 @item =
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1069 @itemx d =
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1070 Display a @samp{cvs diff} between the selected files and the version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1071 that they are based on. (@code{cvs-mode-diff}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1072
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1073 @item d b
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1074 If CVS finds a conflict while merging two versions of a file (during a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1075 @samp{cvs update}, @pxref{Updating the buffer}) it will save the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1076 original file in a file called @file{.#@var{FILE}.@var{VERSION}} where
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1077 @var{FILE} is the name of the file, and @var{VERSION} is the revision
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1078 number that your file was based on.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1079
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1080 With the @kbd{b} command you can run a @samp{diff} on the files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1081 @file{.#@var{FILE}.@var{VERSION}} and @file{@var{FILE}}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1082
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1083 @item d h
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1084 Display a @samp{cvs diff} between the selected files and the head
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1085 revision in the repository (the most recent version on the current
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1086 branch). (@code{cvs-mode-diff-head}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1087
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1088 @item d v
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1089 Display a @samp{cvs diff} between the selected files and the head
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1090 revision of the vendor branch in the repository.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1091 (@code{cvs-mode-diff-vendor}).@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1092
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1093 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1094
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1095 By default, @samp{diff} commands ignore the marks. This can be changed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1096 with @code{cvs-invert-ignore-marks}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1097
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1098 @node Invoking Ediff, Updating files, Viewing differences, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1099 @section Running ediff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1100 @cindex Ediff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1101 @cindex Invoking ediff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1102 @cindex Viewing differences
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1103 @cindex Conflicts, resolving
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1104 @cindex Resolving conflicts
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1105 @kindex e - invoke @samp{ediff}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1106 @findex cvs-mode-idiff
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1107 @findex cvs-mode-imerge
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1108
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1109 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1110 @item d e
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1111 This command uses ediff (or emerge depending on
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1112 @samp{cvs-idiff-imerge-handlers}) to allow you to view diffs.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1113 If a prefix argument is given, PCL-CVS will prompt for a revision against
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1114 which the diff should be made, else the default will be to use the BASE
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1115 revision.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1116
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1117 @item d E
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1118 This command use ediff (or emerge, see above) to allow you to do an
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1119 interactive 3-way merge.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1120
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1121 @strong{Note:} When the file status is @samp{Conflict},
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1122 CVS has already performed a merge. The resulting file is not used in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1123 any way if you use this command. If you use the @kbd{q} command inside
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1124 @samp{ediff} (to successfully terminate a merge) the file that CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1125 created will be overwritten.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1126
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1127 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1128
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1129 @node Updating files, Tagging files, Invoking Ediff, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1130 @section Updating files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1131 @findex cvs-mode-update
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1132 @cindex Updating files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1133 @kindex O - update files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1134
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1135 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1136 @item O
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1137 Update all selected files with status @samp{Need-update} by running
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1138 @samp{cvs update} on them. (@code{cvs-mode-update}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1139 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1140
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1141
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1142 @node Tagging files, Miscellaneous commands, Updating files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1143 @section Tagging files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1144 @findex cvs-mode-tag
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1145 @findex cvs-mode-untag
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1146 @findex cvs-rtag
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1147 @cindex Tagging files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1148 @kindex M-t - repository tag files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1149 @kindex t - tag files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1150 @vindex cvs-invert-ignore-marks
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1151 @vindex cvs-force-dir-tag
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1152
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1153 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1154 @item t
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1155 Tag all selected files by running @samp{cvs tag} on
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1156 them. (@code{cvs-mode-tag}). It's usually preferable to tag directories
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1157 at a time. Rather than selecting all files (which too often doesn't
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1158 select all files but only the few that are displayed), clear the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1159 selection with @kbd{M-DEL} (@code{cvs-mode-unmark-all-files}), position
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1160 the cursor on the directory you want to tag and hit @kbd{t}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1161
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1162 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1163
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1164 By default, @samp{tag} commands ignore the marks. This can be changed
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1165 with @code{cvs-invert-ignore-marks}. Also by default @samp{tag} can
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1166 only be applied to directories, see @code{cvs-force-dir-tag} if you want
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1167 to change this behavior.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1168
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1169
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1170 @node Miscellaneous commands, , Tagging files, Commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1171 @section Miscellaneous commands
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1172 @findex cvs-mode-byte-compile-files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1173 @cindex Recompiling elisp files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1174 @cindex Byte compilation
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1175 @findex cvs-mode-delete-lock
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1176 @cindex Getting rid of lock files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1177 @cindex Lock files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1178 @kindex q - quit PCL-CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1179 @findex cvs-mode-quit
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1180 @cindex Quitting
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1181 @kindex h - help
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1182 @kindex ? - help
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1183 @findex cvs-help
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1184 @cindex Help
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1185
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1186 @table @kbd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1187 @item M-x cvs-mode-byte-compile-files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1188 Byte compile all selected files that end in .el.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1189
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1190 @item M-x cvs-mode-delete-lock
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1191 This command deletes the lock files that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1192 the *cvs* buffer informs you about. You should normally never have to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1193 use this command since CVS tries very carefully to always remove the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1194 lock files itself.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1195
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1196 You can only use this command when a message in the *cvs* buffer tells
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1197 you so. You should wait a while before using this command in case
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1198 someone else is running a cvs command.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1199
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1200 Also note that this only works if the repository is local.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1201
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1202 @item ?
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1203 @itemx h
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1204 Show a summary of common command key bindings in the echo
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1205 area. (@code{cvs-help}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1206
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1207 @item q
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1208 Quit PCL-CVS, killing the @samp{*cvs*} buffer. (@code{cvs-mode-quit}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1209
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1210 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1211
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1212 @node Log Edit Mode, Log View Mode, Commands, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1213 @chapter Editing a Log Message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1214
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1215 @node Log View Mode, CVS Status Mode, Log Edit Mode, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1216 @chapter Browsing a Log of Changes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1217
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1218 @node CVS Status Mode, Customization, Log View Mode, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1219 @chapter Viewing CVS' Status output
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1220
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1221 @node Customization, Bugs, CVS Status Mode, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1222 @chapter Customization
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1223 @vindex log-edit-changelog-full-paragraphs (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1224 @vindex cvs-auto-remove-handled (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1225 @vindex cvs-auto-remove-directories (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1226 @vindex cvs-update-prog-output-skip-regexp (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1227 @vindex cvs-cvsroot (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1228 @vindex cvs-auto-revert (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1229 @vindex log-edit-require-final-newline (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1230 @vindex cvs-sort-ignore-file (variable)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1231 @cindex Customization
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1232 @cindex Variables, list of all
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1233 @cindex Erasing the input buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1234 @cindex Context diff, how to get
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1235 @cindex Unidiff, how to get
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1236 @cindex Automatically remove handled files
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1237 @cindex -u option in modules file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1238 @cindex Modules file (-u option)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1239 @cindex Update program (-u option in modules file)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1240 @cindex Reverting buffers after commit
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1241 @cindex Require final newline
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1242 @cindex Automatically inserting newline
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1243 @cindex Commit message, inserting newline
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1244 @cindex Sorting the .cvsignore file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1245 @cindex .cvsignore file, sorting
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1246 @cindex Automatically sorting .cvsignore
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1247
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1248 If you have an idea about any customization that would be handy but
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1249 isn't present in this list, please tell me!
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1250 For info on how to reach me, see @xref{Bugs}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1251
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1252 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1253 @item cvs-auto-remove-handled
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1254 If this variable is set to any non-@code{nil} value
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1255 @samp{cvs-mode-remove-handled} will be called every time you check in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1256 files, after the check-in is ready. @xref{Removing handled
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1257 entries}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1258
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1259 @item cvs-auto-remove-directories
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1260 If this variable is set to any non-@code{nil} value, directories that do
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1261 not contain any files to be checked in will not be listed in the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1262 @samp{*cvs*} buffer.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1263
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1264 @item cvs-auto-revert
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1265 If this variable is set to any non-@samp{nil} value any buffers you have
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1266 that visit a file that is committed will be automatically reverted.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1267 This variable defaults to @samp{t}. @xref{Committing changes}.@refill
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1268
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1269 @item cvs-update-prog-output-skip-regexp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1270 The @samp{-u} flag in the @file{modules} file can be used to run a command
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1271 whenever a @samp{cvs update} is performed (see cvs(5)). This regexp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1272 is used to search for the last line in that output. It is normally set
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1273 to @samp{"$"}. That setting is only correct if the command outputs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1274 nothing. Note that PCL-CVS will get very confused if the command
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1275 outputs @emph{anything} to @samp{stderr}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1276
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1277 @item cvs-cvsroot
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1278 This variable can be set to override @samp{CVSROOT}. It should be a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1279 string. If it is set then every time a cvs command is run it will be
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1280 called as @samp{cvs -d @var{cvs-cvsroot}@dots{}} This can be useful if
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1281 your site has several repositories.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1282
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1283 @item log-edit-require-final-newline
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1284 When you enter a log message in the @samp{*cvs-commit-message*} buffer
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1285 PCL-CVS will normally automatically insert a trailing newline, unless
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1286 there already is one. This behavior can be controlled via
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1287 @samp{cvs-commit-buffer-require-final-newline}. If it is @samp{t} (the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1288 default behavior), a newline will always be appended. If it is
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1289 @samp{nil}, newlines will never be appended. Any other value causes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1290 PCL-CVS to ask the user whenever there is no trailing newline in the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1291 commit message buffer.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1292
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1293 @item log-edit-changelog-full-paragraphs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1294 If this variable is non-@code{nil}, include full ChangeLog paragraphs in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1295 the CVS log created by @samp{cvs-mode-changelog-commit}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1296 This may be set in the local variables section of a ChangeLog, to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1297 indicate the policy for that ChangeLog.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1298
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1299 A ChangeLog paragraph is a bunch of log text containing no blank lines;
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1300 a paragraph usually describes a set of changes with a single purpose,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1301 but perhaps spanning several functions in several files. Changes in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1302 different paragraphs are unrelated.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1303
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1304 You could argue that the CVS log entry for a file should contain the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1305 full ChangeLog paragraph mentioning the change to the file, even though
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1306 it may mention other files, because that gives you the full context you
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1307 need to understand the change. This is the behavior you get when this
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1308 variable is set to t, the default.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1309
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1310 On the other hand, you could argue that the CVS log entry for a change
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1311 should contain only the text for the changes which occurred in that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1312 file, because the CVS log is per-file. This is the behavior you get
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1313 when this variable is set to nil.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1314
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1315 @item cvs-sort-ignore-file
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1316 If this variable is set to any non-@samp{nil} value the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1317 @file{.cvsignore} will always be sorted whenever you use
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1318 @samp{cvs-mode-ignore} to add a file to it. This option is on by
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1319 default.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1320
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1321 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1322
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1323
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1324 @menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1325 * Customizing Faces::
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1326 @end menu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1327
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1328 @node Customizing Faces, , Customization, Customization
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1329 @section Customizing Faces
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1330 @vindex cvs-header-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1331 @vindex cvs-filename-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1332 @vindex cvs-unknown-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1333 @vindex cvs-handled-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1334 @vindex cvs-need-action-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1335 @vindex cvs-marked-face (face)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1336
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1337 The Emacs lisp file @file{pcl-cvs-xemacs.el} included with PCL-CVS adds
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1338 a few extra features for XEmacs, including menus, mouse bindings, and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1339 fontification the the @samp{*cvs*} buffer. The faces defined for
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1340 fontification are listed below:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1341
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1342 @table @samp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1343
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1344 @item cvs-header-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1345 This face is used to highlight directory changes.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1346
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1347 @item cvs-filename-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1348 This face is used to highlight file names.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1349
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1350 @item cvs-unknown-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1351 This face is used to highlight the status of files which are UNKNOWN.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1352
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1353 @item cvs-handled-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1354 This face is used to highlight the status of files which are handled and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1355 need no further action.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1356
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1357 @item cvs-need-action-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1358 This face is used to highlight the status of files which still need action.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1359
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1360 @item cvs-marked-face
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1361 This face is used to highlight the marked file indicator (@samp{*}).
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1362
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1363 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1364
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1365
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1366 @node Bugs, Function and Variable Index, Customization, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1367 @chapter Bugs (known and unknown)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1368 @cindex Reporting bugs and ideas
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1369 @cindex Bugs, how to report them
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1370 @cindex Author, how to reach
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1371 @cindex Email to the author
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1372 @cindex Known bugs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1373 @cindex Bugs, known
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1374 @cindex FAQ
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1375 @cindex Problems, list of common
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1376
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1377 If you find a bug or misfeature, don't hesitate to tell us! Send email
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1378 to @samp{bugs-gnu-emacs@@gnu.org} which gatewayed to the newsgroup
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1379 @samp{gnu.emacs.bugs}. Feature requests should also be sent there. We
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1380 prefer discussing one thing at a time. If you find several unrelated
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1381 bugs, please report them separately. If you are running PCL-CVS under
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1382 XEmacs, you should also send a copy of bug reports to
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1383 @samp{xemacs-beta@@xemacs.org}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1384
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1385 If you have problems using PCL-CVS or other questions,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1386 @samp{help-gnu-emacs@@gnu.org} also gatewayed to @samp{gnu.emacs.help}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1387 is a good place to get help as well as @samp{cvs-info@@gnu.org}
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1388 yet again gatewayed to @samp{gnu.cvs.help}.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1389
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1390 If you have ideas for improvements, or if you have written some
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1391 extensions to this package, we would like to hear from you. We hope that
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1392 you find this package useful!
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1393
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1394 Below is a partial list of currently known problems with PCL-CVS version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1395 2.0.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1396
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1397 @table @asis
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1398 @item Unexpected output from CVS
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1399 Unexpected output from CVS may confuse PCL-CVS. It will create
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1400 warning messages in the *cvs* buffer alerting you to any parse errors.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1401 If you get these messages, please send a bug report to the email
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1402 addresses listed above. Include the contents of the *cvs* buffer, the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1403 output of the CVS process (which should be found in the *cvs-tmp* Emacs
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1404 buffer), and the versions of Emacs, PCL-CVS and CVS you are using.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1405
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1406 @end table
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1407
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1408 @node Function and Variable Index, Concept Index, Bugs, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1409 @unnumbered Function and Variable Index
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1410
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1411 @printindex fn
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1412
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1413 @node Concept Index, Key Index, Function and Variable Index, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1414 @unnumbered Concept Index
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1415
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1416 @printindex cp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1417
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1418 @node Key Index, , Concept Index, Top
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1419 @unnumbered Key Index
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1420
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1421 @printindex ky
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1422
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1423 @setchapternewpage odd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1424 @summarycontents
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1425 @contents
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1426 @bye
|