aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond2007-10-10 15:29:31 +0000
committerEric S. Raymond2007-10-10 15:29:31 +0000
commit0870a421b12c5807f94fdb095ca685e39a99013e (patch)
tree506f162b6470f647481415748f2a6b5819f79018
parentd4f69e77e16bef3fa44613c8d733feceb2f59824 (diff)
downloademacs-0870a421b12c5807f94fdb095ca685e39a99013e.tar.gz
emacs-0870a421b12c5807f94fdb095ca685e39a99013e.zip
Updates for new VC.
-rw-r--r--doc/emacs/ChangeLog7
-rw-r--r--doc/emacs/vc-xtra.texi2
-rw-r--r--doc/emacs/vc1-xtra.texi30
-rw-r--r--doc/emacs/vc2-xtra.texi25
4 files changed, 38 insertions, 26 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 67f85861e2d..32a7765b2e8 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,7 +1,10 @@
12007-10-10 Eric S. Raymond <esr@snark.thyrsus.com> 12007-10-10 Eric S. Raymond <esr@snark.thyrsus.com>
2 2
3 * files.texi (Version Systems): Merge in changes for new VC 3 * files.texi (Version Systems):
4 with fileset-orienrted operations. 4 * vc-xtra.texi:
5 * vc1-xtra.texi:
6 * vc2-xtra.texi: Merge in changes for new VC
7 with fileset-oriented operations.
5 8
62007-10-09 Eric S. Raymond <esr@snark.thyrsus.com> 92007-10-09 Eric S. Raymond <esr@snark.thyrsus.com>
7 10
diff --git a/doc/emacs/vc-xtra.texi b/doc/emacs/vc-xtra.texi
index 6ec69d60896..5b4e374a6ea 100644
--- a/doc/emacs/vc-xtra.texi
+++ b/doc/emacs/vc-xtra.texi
@@ -15,7 +15,7 @@ the Emacs Manual}). This chapter describes more advanced VC usage.
15@menu 15@menu
16* VC Dired Mode:: Listing files managed by version control. 16* VC Dired Mode:: Listing files managed by version control.
17* VC Dired Commands:: Commands to use in a VC Dired buffer. 17* VC Dired Commands:: Commands to use in a VC Dired buffer.
18* Remote Repositories:: Efficient access to remote CVS servers. 18* Remote Repositories:: Efficient access to remote VCS servers.
19* Snapshots:: Sets of file versions treated as a unit. 19* Snapshots:: Sets of file versions treated as a unit.
20* Miscellaneous VC:: Various other commands and features of VC. 20* Miscellaneous VC:: Various other commands and features of VC.
21* Customizing VC:: Variables that change VC's behavior. 21* Customizing VC:: Variables that change VC's behavior.
diff --git a/doc/emacs/vc1-xtra.texi b/doc/emacs/vc1-xtra.texi
index 6d5df78848c..ebdd1d5951f 100644
--- a/doc/emacs/vc1-xtra.texi
+++ b/doc/emacs/vc1-xtra.texi
@@ -120,21 +120,27 @@ ordinary Dired, that allows you to specify additional switches for the
120 All the usual Dired commands work normally in VC Dired mode, except 120 All the usual Dired commands work normally in VC Dired mode, except
121for @kbd{v}, which is redefined as the version control prefix. You can 121for @kbd{v}, which is redefined as the version control prefix. You can
122invoke VC commands such as @code{vc-diff} and @code{vc-print-log} by 122invoke VC commands such as @code{vc-diff} and @code{vc-print-log} by
123typing @kbd{v =}, or @kbd{v l}, and so on. Most of these commands apply 123typing @kbd{v =}, or @kbd{v l}, and so on. These commands will apply
124to the file name on the current line. 124to the set of files you have marked for operation in the VC-Dired
125buffer.
125 126
126 The command @kbd{v v} (@code{vc-next-action}) operates on all the 127 The command @kbd{v v} (@code{vc-next-action}) operates on all the
127marked files, so that you can lock or check in several files at once. 128marked files, so that you can lock or check in several files at once.
128If it operates on more than one file, it handles each file according to 129If the underlying VC supports atomic commits of multiple-file
129its current state; thus, it might lock one file, but check in another 130changesets @kbd{v v} with a selected set of modified but not committed
130file. This could be confusing; it is up to you to avoid confusing 131files wuill commit all of them at once as a single changeset.
131behavior by marking a set of files that are in a similar state. If no 132
132files are marked, @kbd{v v} operates on the file in the current line. 133 When @kbd{v v} (@code{vc-next-action}) operates on a set of files,
133 134it requires that all of those files must be in the same state;
134 If any files call for check-in, @kbd{v v} reads a single log entry, 135otherwise it will throw an error. Note that this differs from the
135then uses it for all the files being checked in. This is convenient for 136behavior of older versions of VC, which did not have fileset
136registering or checking in several files at once, as part of the same 137operations and simply did @code{vc-next-action} on each file
137change. 138individually.
139
140 If any files are in a state that calls for commit, @kbd{v v} reads a
141single log entry and uses it for the changeset as a whole. If the
142underling VCS is file- rather than changeset-oriented, the log entry
143will be replicated into the history of each file.
138 144
139@findex vc-dired-toggle-terse-mode 145@findex vc-dired-toggle-terse-mode
140@findex vc-dired-mark-locked 146@findex vc-dired-mark-locked
diff --git a/doc/emacs/vc2-xtra.texi b/doc/emacs/vc2-xtra.texi
index 83f28088726..685d737f0f1 100644
--- a/doc/emacs/vc2-xtra.texi
+++ b/doc/emacs/vc2-xtra.texi
@@ -6,17 +6,20 @@
6@c printed version) or in the main Emacs manual (for the on-line version). 6@c printed version) or in the main Emacs manual (for the on-line version).
7@node Remote Repositories 7@node Remote Repositories
8@subsection Remote Repositories 8@subsection Remote Repositories
9@cindex remote repositories (CVS) 9@cindex remote repositories
10 10
11 A common way of using CVS is to set up a central CVS repository on 11 A common way of using CVS and other more advanced VCSes is to set up
12some Internet host, then have each developer check out a personal 12a central repository on some Internet host, then have each
13working copy of the files on his local machine. Committing changes to 13developer check out a personal working copy of the files on his local
14the repository, and picking up changes from other users into one's own 14machine. Committing changes to the repository, and picking up changes
15working area, then works by direct interactions with the CVS server. 15from other users into one's own working area, then works by direct
16interactions with the repository server.
16 17
17 One difficulty is that access to the CVS server is often slow, and 18 One difficulty is that access to a repository server is often slow,
18that developers might need to work off-line as well. VC is designed 19and that developers might need to work off-line as well. While only
19to reduce the amount of network interaction necessary. 20third-generation decentralized VCses such as GNU Arch or Mercurial
21really solve this problem, VC is designed to reduce the amount of
22network interaction necessary.
20 23
21@menu 24@menu
22* Version Backups:: Keeping local copies of repository versions. 25* Version Backups:: Keeping local copies of repository versions.
@@ -28,7 +31,7 @@ to reduce the amount of network interaction necessary.
28@cindex version backups 31@cindex version backups
29 32
30@cindex automatic version backups 33@cindex automatic version backups
31 When VC sees that the CVS repository for a file is on a remote 34 When VC sees that the repository for a file is on a remote
32machine, it automatically makes local backups of unmodified versions 35machine, it automatically makes local backups of unmodified versions
33of the file---@dfn{automatic version backups}. This means that you 36of the file---@dfn{automatic version backups}. This means that you
34can compare the file to the repository version (@kbd{C-x v =}), or 37can compare the file to the repository version (@kbd{C-x v =}), or
@@ -47,7 +50,7 @@ as ordinary Emacs backup files
47@end ifnottex 50@end ifnottex
48But they follow a similar naming convention. 51But they follow a similar naming convention.
49 52
50 For a file that comes from a remote CVS repository, VC makes a 53 For a file that comes from a remote repository, VC makes a
51version backup whenever you save the first changes to the file, and 54version backup whenever you save the first changes to the file, and
52removes it after you have committed your modified version to the 55removes it after you have committed your modified version to the
53repository. You can disable the making of automatic version backups by 56repository. You can disable the making of automatic version backups by