aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-05-06 14:25:42 +0000
committerEli Zaretskii2006-05-06 14:25:42 +0000
commit7cdd23e656f1e49b3e4b6d556a70969df7bf1f6d (patch)
treec1dabc7388bc61f4fb8c59eca8077c29d01cc2ff
parentd5d04ab296e26d181f2f31370242b589c97abeb2 (diff)
downloademacs-7cdd23e656f1e49b3e4b6d556a70969df7bf1f6d.tar.gz
emacs-7cdd23e656f1e49b3e4b6d556a70969df7bf1f6d.zip
(Version Backups, Local Version Control)
(Making Snapshots, Change Logs and VC, Version Headers) (Customizing VC, CVS Options) [ifnottex]: Conditional xref's for on-line manual.
-rw-r--r--man/ChangeLog26
-rw-r--r--man/vc2-xtra.texi100
2 files changed, 101 insertions, 25 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index a50fa9e15da..1ec6243628f 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -2,7 +2,31 @@
2 2
3 The following changes merge the emacs-xtra manual into the main 3 The following changes merge the emacs-xtra manual into the main
4 manual, but only for on-line version of the manual. 4 manual, but only for on-line version of the manual.
5 5
6 * vc2-xtra.texi (Version Backups, Local Version Control)
7 (Making Snapshots, Change Logs and VC, Version Headers)
8 (Customizing VC, CVS Options) [ifnottex]: Conditional xref's for
9 on-line manual.
10
11 * vc1-xtra.texi (VC Dired Mode) [ifnottex]: Conditional xref's
12 for on-line manual.
13
14 * msdog-xtra.texi (MS-DOS, MS-DOS Keyboard, MS-DOS Mouse)
15 (MS-DOS Display, MS-DOS File Names, MS-DOS Printing)
16 (MS-DOS and MULE, MS-DOS Processes) [ifnottex]: Conditional xref's
17 for on-line manual.
18
19 * fortran-xtra.texi (Fortran, Fortran Autofill)
20 (Fortran Autofill, Fortran Abbrev) [ifnottex]: Conditional xref's
21 for on-line manual.
22
23 * picture-xtra.texi (Basic Picture, Rectangles in Picture) [ifnottex]:
24 Conditional xref's for on-line manual.
25
26 * emerge-xtra.texi (Emerge, Overview of Emerge)
27 (Fine Points of Emerge) [ifnottex]: Conditional xref's for on-line
28 manual.
29
6 * Makefile.in (INFO_TARGETS): Remove ../info/emacs-xtra. 30 * Makefile.in (INFO_TARGETS): Remove ../info/emacs-xtra.
7 (EMACS_XTRA): New variable, lists the new *-xtra.texi files. 31 (EMACS_XTRA): New variable, lists the new *-xtra.texi files.
8 (EMACSSOURCES): Use EMACS_XTRA. 32 (EMACSSOURCES): Use EMACS_XTRA.
diff --git a/man/vc2-xtra.texi b/man/vc2-xtra.texi
index 01f30fc9d5b..14b8bc9fb07 100644
--- a/man/vc2-xtra.texi
+++ b/man/vc2-xtra.texi
@@ -38,8 +38,14 @@ interactions.
38 The local copy of the unmodified file is called a @dfn{version 38 The local copy of the unmodified file is called a @dfn{version
39backup} to indicate that it corresponds exactly to a version that is 39backup} to indicate that it corresponds exactly to a version that is
40stored in the repository. Note that version backups are not the same 40stored in the repository. Note that version backups are not the same
41as ordinary Emacs backup files (@pxref{Backup,,,emacs, the Emacs 41as ordinary Emacs backup files
42Manual}). But they follow a similar naming convention. 42@iftex
43(@pxref{Backup,,,emacs, the Emacs Manual}).
44@end iftex
45@ifnottex
46(@pxref{Backup}).
47@end ifnottex
48But they follow a similar naming convention.
43 49
44 For a file that comes from a remote CVS repository, VC makes a 50 For a file that comes from a remote CVS repository, VC makes a
45version backup whenever you save the first changes to the file, and 51version backup whenever you save the first changes to the file, and
@@ -50,12 +56,17 @@ setting @code{vc-cvs-stay-local} to @code{nil} (@pxref{CVS Options}).
50@cindex manual version backups 56@cindex manual version backups
51 The name of the automatic version backup for version @var{version} 57 The name of the automatic version backup for version @var{version}
52of file @var{file} is @code{@var{file}.~@var{version}.~}. This is 58of file @var{file} is @code{@var{file}.~@var{version}.~}. This is
53almost the same as the name used by @kbd{C-x v ~} (@pxref{Old 59almost the same as the name used by @kbd{C-x v ~}
54Versions,,,emacs, the Emacs Manual}), the only difference being 60@iftex
55the additional dot (@samp{.}) after the version number. This 61(@pxref{Old Versions,,,emacs, the Emacs Manual}),
56similarity is intentional, because both kinds of files store the same 62@end iftex
57kind of information. The file made by @kbd{C-x v ~} acts as a 63@ifnottex
58@dfn{manual version backup}. 64(@pxref{Old Versions}),
65@end ifnottex
66the only difference being the additional dot (@samp{.}) after the
67version number. This similarity is intentional, because both kinds of
68files store the same kind of information. The file made by @kbd{C-x v
69~} acts as a @dfn{manual version backup}.
59 70
60 All the VC commands that operate on old versions of a file can use 71 All the VC commands that operate on old versions of a file can use
61both kinds of version backups. For instance, @kbd{C-x v ~} uses 72both kinds of version backups. For instance, @kbd{C-x v ~} uses
@@ -127,10 +138,16 @@ CVS.
127 138
128When you are done with local editing, you can commit the final version 139When you are done with local editing, you can commit the final version
129back to the CVS repository by typing @kbd{C-u C-x v v cvs @key{RET}}. 140back to the CVS repository by typing @kbd{C-u C-x v v cvs @key{RET}}.
130This initializes the log entry buffer (@pxref{Log Buffer,,,emacs, the 141This initializes the log entry buffer
131Emacs Manual}) to contain all the log entries you have recorded in the 142@iftex
132RCS master; you can edit them as you wish, and then commit in CVS by 143(@pxref{Log Buffer,,,emacs, the Emacs Manual})
133typing @kbd{C-c C-c}. If the commit is successful, VC removes the RCS 144@end iftex
145@ifnottex
146(@pxref{Log Buffer})
147@end ifnottex
148to contain all the log entries you have recorded in the RCS master;
149you can edit them as you wish, and then commit in CVS by typing
150@kbd{C-c C-c}. If the commit is successful, VC removes the RCS
134master, so that the file is once again registered under CVS only. 151master, so that the file is once again registered under CVS only.
135(The RCS master is not actually deleted, just renamed by appending 152(The RCS master is not actually deleted, just renamed by appending
136@samp{~} to the name, so that you can refer to it later if you wish.) 153@samp{~} to the name, so that you can refer to it later if you wish.)
@@ -163,9 +180,15 @@ prefix argument, it asks for the back end to use in the minibuffer.
163Thus, if you are using local RCS, and you want to pick up some recent 180Thus, if you are using local RCS, and you want to pick up some recent
164changes in the file from remote CVS, first visit the file, then type 181changes in the file from remote CVS, first visit the file, then type
165@kbd{C-x v b} to switch to CVS, and finally use @kbd{C-x v m 182@kbd{C-x v b} to switch to CVS, and finally use @kbd{C-x v m
166@key{RET}} to merge the news (@pxref{Merging,,,emacs, the Emacs 183@key{RET}} to merge the news
167Manual}). You can then switch back to RCS by typing @kbd{C-x v b} 184@iftex
168again, and continue to edit locally. 185(@pxref{Merging,,,emacs, the Emacs Manual}).
186@end iftex
187@ifnottex
188(@pxref{Merging}).
189@end ifnottex
190You can then switch back to RCS by typing @kbd{C-x v b} again, and
191continue to edit locally.
169 192
170But if you do this, the revision numbers in the RCS master no longer 193But if you do this, the revision numbers in the RCS master no longer
171correspond to those of CVS. Technically, this is not a problem, but 194correspond to those of CVS. Technically, this is not a problem, but
@@ -219,7 +242,13 @@ the list of file names and which version belongs to the snapshot. Thus,
219you need not hesitate to create snapshots whenever they are useful. 242you need not hesitate to create snapshots whenever they are useful.
220 243
221 You can give a snapshot name as an argument to @kbd{C-x v =} or 244 You can give a snapshot name as an argument to @kbd{C-x v =} or
222@kbd{C-x v ~} (@pxref{Old Versions,,,emacs, the Emacs Manual}). 245@kbd{C-x v ~}
246@iftex
247(@pxref{Old Versions,,,emacs, the Emacs Manual}).
248@end iftex
249@ifnottex
250(@pxref{Old Versions}).
251@end ifnottex
223Thus, you can use it to compare a snapshot against the current files, 252Thus, you can use it to compare a snapshot against the current files,
224or two snapshots against each other, or a snapshot against a named 253or two snapshots against each other, or a snapshot against a named
225version. 254version.
@@ -283,9 +312,15 @@ won't really work as retrieved.
283@subsubsection Change Logs and VC 312@subsubsection Change Logs and VC
284 313
285 If you use RCS or CVS for a program and also maintain a change log 314 If you use RCS or CVS for a program and also maintain a change log
286file for it (@pxref{Change Log,,,emacs, the Emacs Manual}), you 315file for it
287can generate change log entries automatically from the version control 316@iftex
288log entries: 317(@pxref{Change Log,,,emacs, the Emacs Manual}),
318@end iftex
319@ifnottex
320(@pxref{Change Log}),
321@end ifnottex
322you can generate change log entries automatically from the version
323control log entries:
289 324
290@table @kbd 325@table @kbd
291@item C-x v a 326@item C-x v a
@@ -458,8 +493,13 @@ a mechanism, except GNU Arch.
458The exception is RCS---with RCS, version headers are sometimes more 493The exception is RCS---with RCS, version headers are sometimes more
459reliable than the master file to determine which version of the file 494reliable than the master file to determine which version of the file
460you are editing. Note that in a multi-branch environment, version 495you are editing. Note that in a multi-branch environment, version
461headers are necessary to make VC behave correctly (@pxref{Multi-User 496headers are necessary to make VC behave correctly
462Branching,,,emacs, the Emacs Manual}). 497@iftex
498(@pxref{Multi-User Branching,,,emacs, the Emacs Manual}).
499@end iftex
500@ifnottex
501(@pxref{Multi-User Branching}).
502@end ifnottex
463 503
464 Searching for RCS version headers is controlled by the variable 504 Searching for RCS version headers is controlled by the variable
465@code{vc-consult-headers}. If it is non-@code{nil} (the default), 505@code{vc-consult-headers}. If it is non-@code{nil} (the default),
@@ -559,8 +599,14 @@ The order of systems in the list is significant: when you visit a file
559registered in more than one system (@pxref{Local Version Control}), VC 599registered in more than one system (@pxref{Local Version Control}), VC
560uses the system that comes first in @code{vc-handled-backends} by 600uses the system that comes first in @code{vc-handled-backends} by
561default. The order is also significant when you register a file for 601default. The order is also significant when you register a file for
562the first time, @pxref{Registering,,,emacs, the Emacs Manual} for 602the first time, see
563details. 603@iftex
604@ref{Registering,,,emacs, the Emacs Manual},
605@end iftex
606@ifnottex
607@ref{Registering},
608@end ifnottex
609for details.
564 610
565@menu 611@menu
566* General VC Options:: Options that apply to multiple back ends. 612* General VC Options:: Options that apply to multiple back ends.
@@ -711,7 +757,13 @@ One consequence of this is that when you have modified a file, and
711somebody else has already checked in other changes to the file, you 757somebody else has already checked in other changes to the file, you
712are not notified of it until you actually try to commit. (But you can 758are not notified of it until you actually try to commit. (But you can
713try to pick up any recent changes from the repository first, using 759try to pick up any recent changes from the repository first, using
714@kbd{C-x v m @key{RET}}, @pxref{Merging,,,emacs, the Emacs Manual}). 760@kbd{C-x v m @key{RET}},
761@iftex
762@pxref{Merging,,,emacs, the Emacs Manual}).
763@end iftex
764@ifnottex
765@pxref{Merging}).
766@end ifnottex
715 767
716 When @code{vc-cvs-stay-local} is @code{t}, VC also makes local 768 When @code{vc-cvs-stay-local} is @code{t}, VC also makes local
717version backups, so that simple diff and revert operations are 769version backups, so that simple diff and revert operations are