diff options
| author | Eric S. Raymond | 2007-10-10 15:29:31 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 2007-10-10 15:29:31 +0000 |
| commit | 0870a421b12c5807f94fdb095ca685e39a99013e (patch) | |
| tree | 506f162b6470f647481415748f2a6b5819f79018 | |
| parent | d4f69e77e16bef3fa44613c8d733feceb2f59824 (diff) | |
| download | emacs-0870a421b12c5807f94fdb095ca685e39a99013e.tar.gz emacs-0870a421b12c5807f94fdb095ca685e39a99013e.zip | |
Updates for new VC.
| -rw-r--r-- | doc/emacs/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/emacs/vc-xtra.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/vc1-xtra.texi | 30 | ||||
| -rw-r--r-- | doc/emacs/vc2-xtra.texi | 25 |
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 @@ | |||
| 1 | 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com> | 1 | 2007-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 | ||
| 6 | 2007-10-09 Eric S. Raymond <esr@snark.thyrsus.com> | 9 | 2007-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 |
| 121 | for @kbd{v}, which is redefined as the version control prefix. You can | 121 | for @kbd{v}, which is redefined as the version control prefix. You can |
| 122 | invoke VC commands such as @code{vc-diff} and @code{vc-print-log} by | 122 | invoke VC commands such as @code{vc-diff} and @code{vc-print-log} by |
| 123 | typing @kbd{v =}, or @kbd{v l}, and so on. Most of these commands apply | 123 | typing @kbd{v =}, or @kbd{v l}, and so on. These commands will apply |
| 124 | to the file name on the current line. | 124 | to the set of files you have marked for operation in the VC-Dired |
| 125 | buffer. | ||
| 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 |
| 127 | marked files, so that you can lock or check in several files at once. | 128 | marked files, so that you can lock or check in several files at once. |
| 128 | If it operates on more than one file, it handles each file according to | 129 | If the underlying VC supports atomic commits of multiple-file |
| 129 | its current state; thus, it might lock one file, but check in another | 130 | changesets @kbd{v v} with a selected set of modified but not committed |
| 130 | file. This could be confusing; it is up to you to avoid confusing | 131 | files wuill commit all of them at once as a single changeset. |
| 131 | behavior by marking a set of files that are in a similar state. If no | 132 | |
| 132 | files 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 | 134 | it 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, | 135 | otherwise it will throw an error. Note that this differs from the |
| 135 | then uses it for all the files being checked in. This is convenient for | 136 | behavior of older versions of VC, which did not have fileset |
| 136 | registering or checking in several files at once, as part of the same | 137 | operations and simply did @code{vc-next-action} on each file |
| 137 | change. | 138 | individually. |
| 139 | |||
| 140 | If any files are in a state that calls for commit, @kbd{v v} reads a | ||
| 141 | single log entry and uses it for the changeset as a whole. If the | ||
| 142 | underling VCS is file- rather than changeset-oriented, the log entry | ||
| 143 | will 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 |
| 12 | some Internet host, then have each developer check out a personal | 12 | a central repository on some Internet host, then have each |
| 13 | working copy of the files on his local machine. Committing changes to | 13 | developer check out a personal working copy of the files on his local |
| 14 | the repository, and picking up changes from other users into one's own | 14 | machine. Committing changes to the repository, and picking up changes |
| 15 | working area, then works by direct interactions with the CVS server. | 15 | from other users into one's own working area, then works by direct |
| 16 | interactions 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, |
| 18 | that developers might need to work off-line as well. VC is designed | 19 | and that developers might need to work off-line as well. While only |
| 19 | to reduce the amount of network interaction necessary. | 20 | third-generation decentralized VCses such as GNU Arch or Mercurial |
| 21 | really solve this problem, VC is designed to reduce the amount of | ||
| 22 | network 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 |
| 32 | machine, it automatically makes local backups of unmodified versions | 35 | machine, it automatically makes local backups of unmodified versions |
| 33 | of the file---@dfn{automatic version backups}. This means that you | 36 | of the file---@dfn{automatic version backups}. This means that you |
| 34 | can compare the file to the repository version (@kbd{C-x v =}), or | 37 | can 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 |
| 48 | But they follow a similar naming convention. | 51 | But 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 |
| 51 | version backup whenever you save the first changes to the file, and | 54 | version backup whenever you save the first changes to the file, and |
| 52 | removes it after you have committed your modified version to the | 55 | removes it after you have committed your modified version to the |
| 53 | repository. You can disable the making of automatic version backups by | 56 | repository. You can disable the making of automatic version backups by |