annotate man/pcl-cvs.texi @ 29464:4205afb9033f

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