diff options
| author | Chong Yidong | 2011-12-17 15:50:08 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-12-17 15:50:08 +0800 |
| commit | 9cff91f800cc72f8c77cf192c119c78d4a14a8ee (patch) | |
| tree | 5f023ede7134cbcb1a1b69efe38750dcb6c80134 /lisp | |
| parent | 301b181a14b0f698c6aae05522e6f3401ea45a3c (diff) | |
| download | emacs-9cff91f800cc72f8c77cf192c119c78d4a14a8ee.tar.gz emacs-9cff91f800cc72f8c77cf192c119c78d4a14a8ee.zip | |
More updates for VC documentation.
* doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
less CVS-specific.
(VC With A Merging VCS, VC With A Locking VCS): Add xref to
Registering node.
(Secondary VC Commands): Deleted. Promote subnodes.
(Log Buffer): Add command name for C-c C-c. Fix the name of the
log buffer. Add index entries.
(VCS Changesets, Types of Log File, VC With A Merging VCS): Use
"commit" terminology.
(Old Revisions): Move it to just before VC Change Log. "Tag" here
doesn't refer to tags tables. Note other possible forms of the
revision ID. C-x v = does not save.
(Registering): Note similarity to C-x v v action. Fix description
of how backends are chosen. De-document vc-default-init-revision.
(VC Change Log): Document C-x v l in VC-Dir buffer. Document RET
in root log buffers.
* lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/vc/vc.el | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eb7be329d84..990a7259bc8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2011-12-16 Chong Yidong <cyd@gnu.org> | 1 | 2011-12-17 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms. | 3 | * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms. |
| 4 | (vc-deduce-fileset): Doc fix. | ||
| 4 | 5 | ||
| 5 | 2011-12-16 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2011-12-16 Andreas Schwab <schwab@linux-m68k.org> |
| 6 | 7 | ||
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 85fbd93e9c6..87e8901e33a 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -951,13 +951,13 @@ Within directories, only files already under version control are noticed." | |||
| 951 | (defun vc-deduce-fileset (&optional observer allow-unregistered | 951 | (defun vc-deduce-fileset (&optional observer allow-unregistered |
| 952 | state-model-only-files) | 952 | state-model-only-files) |
| 953 | "Deduce a set of files and a backend to which to apply an operation. | 953 | "Deduce a set of files and a backend to which to apply an operation. |
| 954 | |||
| 955 | Return (BACKEND FILESET FILESET-ONLY-FILES STATE CHECKOUT-MODEL). | 954 | Return (BACKEND FILESET FILESET-ONLY-FILES STATE CHECKOUT-MODEL). |
| 956 | If we're in VC-dir mode, the fileset is the list of marked files. | 955 | |
| 957 | Otherwise, if we're looking at a buffer visiting a version-controlled file, | 956 | If we're in VC-dir mode, FILESET is the list of marked files. |
| 958 | the fileset is a singleton containing this file. | 957 | Otherwise, if in a buffer visiting a version-controlled file, |
| 959 | If none of these conditions is met, but ALLOW_UNREGISTERED is on and the | 958 | FILESET is a single-file fileset containing that file. |
| 960 | visited file is not registered, return a singleton fileset containing it. | 959 | Otherwise, if ALLOW-UNREGISTERED is non-nil and the visited file |
| 960 | is unregistered, FILESET is a single-file fileset containing it. | ||
| 961 | Otherwise, throw an error. | 961 | Otherwise, throw an error. |
| 962 | 962 | ||
| 963 | STATE-MODEL-ONLY-FILES if non-nil, means that the caller needs | 963 | STATE-MODEL-ONLY-FILES if non-nil, means that the caller needs |