1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

424 Commits

Author SHA1 Message Date
Eric S. Raymond
00b3f57b23 Fix typo. 1993-03-09 23:02:40 +00:00
Eric S. Raymond
3234e2a32f Version 5 baseline. 1993-03-09 22:56:29 +00:00
Paul Eggert
02da625312 (vc-update-change-log): Check that ChangeLog is writable
before starting the expensive rcs2log process.
Use call-process instead of shell-command to invoke rcs2log;
this avoids undesired shell escapes and is more robust about errors.
Put mark at point-min, so that the new insertion is in the region.
(vc-checkin-hook): Fix `runs-hooks' typo.
(vc-checkout-writeable-buffer-hook): New var.
(vc-next-action): Fix bug: initial checkin was botched when C-x v v
was applied to a new file while vc-initial-comment was non-nil.
(vc-register): Don't barf when registering a new, empty buffer.
(vc-directory): The `No files are currently registered'
message was wrongly worded, because sometimes the message talks
about locked files, not registered files.
(vc-file-tree-walk): Change (apply 'funcall ...) to (apply
...), since the 'funcall is redundant.
When traversing a directory tree, message
"Traversing directory XXX" so that the user can see what progress is
being made.  Traversal can take a long time.  Omit first argument,
since it is always the current directory.  All callers changed.
(vc-file-tree-walk-internal): New function.
(vc-do-command, vc-diff, vc-version-diff, vc-backend-diff):
Remove redundant calls to `format'.
(vc-diff): Remove unused variable `old'.
(vc-version-diff): When recursively generating a difference
listing, don't append the latest output unless diff was actually run;
otherwise, you'll get the output from the previous file by mistake.
1993-03-07 18:20:54 +00:00
Richard M. Stallman
cfadef6306 (vc-revert-buffer1): Use mark-marker; don't alter mark-active. 1993-03-07 07:44:46 +00:00
Jim Blandy
1ab31687d4 * files.el (revert-buffer): Reverse the sense of the first
argument, but leave interactive usage the same.
	* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
	appropriate arguments.  This seems to be the only file which was
	adjusted for the new meaning of the revert-buffer arguments.
1993-02-22 14:17:16 +00:00
Jim Blandy
315e49edd0 * vc.el (vc-do-command): Set the default directory of the *vc*
buffer to the directory containing FILE.
1992-12-12 15:22:26 +00:00
Richard M. Stallman
9549c46d0b (vc-next-action): Undo previous change. 1992-11-20 19:33:38 +00:00
Jim Blandy
c4ae7096b6 Thu Nov 19 16:44:24 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* vc.el (vc-next-action): Pass t as NOQUERY argument to
	vc-resynch-window here too.  This means that all uses of
	vc-resynch-window pass t; I'm going to wait until I understand the
	situation better before I rip out the NOQUERY argument
	altogether.

	* vc.el (vc-revert-buffer1): Try to preserve the position of mark
	as well as point.
	(vc-position-context, vc-find-position-by-context): New functions
	to help with that, made out of the old innards of vc-revert-buffer1.
1992-11-20 17:23:45 +00:00
Richard M. Stallman
13b705c88d (vc-cancel-version): Use yes-or-no-p. 1992-11-08 18:58:17 +00:00
Richard M. Stallman
db59472c27 (vc-admin): Pass t as noquery arg to vc-resynch-window. 1992-10-28 09:33:04 +00:00
Richard M. Stallman
624b466297 (vc-resynch-window): New arg NOQUERY. Pass it to vc-revert-buffer1.
(vc-checkout, vc-finish-logentry, vc-revert-buffer, vc-finish-steal):
Supply t as NOQUERY arg for vc-resynch-window.
(vc-next-action): Don't revert workfile from master if buffer is modified.
1992-10-26 05:33:20 +00:00
Richard M. Stallman
d743a3c876 (vc-backend-steal): Delete the workfile after the rcs -M -u. 1992-10-06 08:59:39 +00:00
Richard M. Stallman
73ce90464c (vc-backend-steal): Put filename after options in rcs commands. 1992-10-05 22:03:53 +00:00
Richard M. Stallman
ad0146295e (vc-steal-lock): Use mail-setup, and do like `mail'.
Supply vc-finish-steal as an action on sending.
(vc-finish-steal): Delete the code to send the message.
1992-10-05 21:09:26 +00:00
Roland McGrath
2ea8ce47dd (vc-backend-checkin): Change buffers to get local value of vc-checkin-switches. 1992-10-05 05:49:27 +00:00
Roland McGrath
d59e5e8c3c (vc-backend-checkin): Use apply on vc-do-command: vc-checkin-switches is a
list.
1992-10-05 05:20:52 +00:00
Roland McGrath
666a0ebb67 (vc-checkin-switches): New defvar.
(vc-backend-checkin): Pass vc-checkin-switches to prog.
1992-10-05 05:17:21 +00:00
Richard M. Stallman
60213ed03b (vc-rename-file): Use OLD, not FILE which is unbound. 1992-09-28 13:01:53 +00:00
Roland McGrath
f480bf4b74 (vc-update-change-log): Use file-relative-name. 1992-09-27 02:42:08 +00:00
Roland McGrath
67242a23d0 (vc-checkin-hook): New user hook variable.
(vc-log-after-operation-hook): New internal defvar.
(vc-checkin): Set vc-log-after-operation-hook to 'vc-checkin-hook.
(vc-finish-logentry): (run-hooks vc-log-after-operation-hook) at end.

(vc-update-change-log): When doing all visited files, remove directory
names from file names that are in default-directory.
1992-09-27 01:51:04 +00:00
Roland McGrath
f35ecf8813 (vc-update-change-log): Use shell-command, not shell-command-on-region.
Take optional args to pass to script.
Add fancy interactive spec: C-u for current file only; M-0 for all visited.
1992-09-27 01:31:15 +00:00
Richard M. Stallman
9c95ac442f entered into RCS 1992-08-08 22:58:39 +00:00
Jim Blandy
637a8ae9ce *** empty log message *** 1992-08-04 07:27:12 +00:00
Eric S. Raymond
594722a807 Initial revision 1992-07-31 22:24:03 +00:00