1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

394 Commits

Author SHA1 Message Date
Juanma Barranquero
aa40646530 (vc-annotate): Fix spellings in docstrings. 2005-06-10 14:08:47 +00:00
André Spiegel
3b37b1796f (vc-trunk-p): Add autoload cookie. The function is used in vc-rcs.el
when vc-mistrust-permissions is t, which is not the default.
2005-05-22 10:51:32 +00:00
Dan Nicolaescu
57428691d5 (vc-annotate-color-map): Change some colors so that text
using them as foreground is readable on both white and black
backgrounds.
2005-04-20 16:51:39 +00:00
Stefan Monnier
55ec6b379a (vc-do-command): Use a pipe for async processes, so password
prompts don't show up at places where the user can't reply.
2005-03-29 15:30:39 +00:00
Andreas Schwab
c58447fd8c (vc-do-command): Don't run command asynchronously when
operating in a remote directory.
2005-02-27 18:38:48 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
André Spiegel
f1d1d46a52 (vc-allow-async-revert): New user option.
(vc-disable-async-diff): New internal variable.
(vc-revert-buffer): Use them to disable asynchronous diff.
2005-01-09 21:27:28 +00:00
André Spiegel
54ebae283f (vc-default-update-changelog): Use insert-file-contents, rather than
insert-file.
2004-12-17 10:48:53 +00:00
André Spiegel
0a22636447 (vc-recompute-state): Moved into vc-hooks.el. 2004-11-30 11:03:46 +00:00
Thien-Thi Nguyen
3c42cc640b Update annotation-related comments. 2004-11-19 15:10:57 +00:00
Thien-Thi Nguyen
2e73435333 (vc-annotate-display-autoscale): Make sure
point is at bol after calling `annotate-time'.
2004-11-03 10:41:46 +00:00
Thien-Thi Nguyen
f36e4afe47 (vc-annotate-display-autoscale): Add prefix-arg
spec in `interactive' form, and mention it in the docstring.
2004-11-03 10:22:39 +00:00
Kai Großjohann
0457dd5538 * simple.el (process-file): New function, similar to call-process
but supports file handlers.
* vc.el (vc-do-command): Use it, instead of call-process.
* net/tramp-vc.el (vc-do-command): Do not advise it if
process-file is fboundp.
* net/tramp.el (tramp-file-name-handler-alist): Add entry for
process-file.
(tramp-handle-process-file): New function.
(tramp-file-name-for-operation): Support process-file.
2004-10-23 19:52:18 +00:00
Stefan Monnier
865c5d7658 (vc-annotate-display-select): Fix typo. 2004-10-13 17:04:45 +00:00
André Spiegel
fb34883fdf (vc-annotate-mode): Remove variable.
(vc-annotate-display-select): Only call vc-annotate-mode
if we're not in that mode already.
2004-10-10 09:23:11 +00:00
Thien-Thi Nguyen
946b248fd7 (annotate-time): Document point handling.
(vc-annotate-display-autoscale): Doc fix.
2004-09-15 16:47:08 +00:00
Stefan Monnier
0452b6e745 (vc-buffer-context, vc-restore-buffer-context): Disable obsolete code. 2004-09-07 04:47:38 +00:00
Juanma Barranquero
4b284383bb (vc-print-log): Fix code that handles wrong-number-of-arguments in backend
call.
2004-04-23 21:03:21 +00:00
André Spiegel
a0fa8faddc (vc-print-log): Quote signal. 2004-04-16 10:21:24 +00:00
André Spiegel
65f11a25b4 (vc-print-log): Use condition-case to check for backward
compatibility.
2004-04-11 15:05:18 +00:00
Stefan Monnier
c63f9a0e46 (vc-version-diff, vc-default-diff-tree): Change rel' -> rev'.
(vc-diff-label): New fun.
(vc-diff-internal): Use it.
2004-03-28 22:00:19 +00:00
Stefan Monnier
8dc87047d1 (vc-maybe-resolve-conflicts): Don't prompt the user. 2004-03-26 16:17:33 +00:00
André Spiegel
cfdc6c099e (vc-print-log): Undo prev change, use new function vc-arg-list from
vc-hooks.el.
2004-03-26 06:07:55 +00:00
Sam Steingold
5217a76a0b (vc-print-log): backend-function may be a byte-compiled object, not a lambda 2004-03-25 15:39:03 +00:00
Stefan Monnier
81c63b50e2 Document new backend operation `find-file-not-found-hook'. 2004-03-23 21:00:36 +00:00
André Spiegel
ac9ff2091c Add new optional BUFFER argument to vc-BACKEND-print-log and
vc-BACKEND-diff.
(vc-print-log): If the print-log implementation supports it, use the
new BUFFER argument to direct output to *vc-change-log*, not *vc*.
(vc-version-diff, vc-diff-internal): Doc fixes.
2004-03-21 15:42:14 +00:00
Stefan Monnier
6e54fa536d Document new find-file-hook operation. 2004-03-15 03:55:24 +00:00
Andreas Schwab
2df5044f34 (with-vc-file): Fix unsafe uses of error.
(vc-cancel-version): Likewise.
2004-02-08 22:42:42 +00:00
Kim F. Storm
4109ce02c4 (line-number-at-pos): Rename from line-at-pos.
Uses changed (what-line and vc-annotate-warp-version).
2004-02-07 00:37:13 +00:00
André Spiegel
64fa2c4f10 (vc-annotate): Fix improper use of `make-local-variable' at the top
level of vc.el.  (Patch by Benjamin Rutt.)
2004-01-23 11:20:55 +00:00
André Spiegel
b6b50160c2 (vc-current-line): Function removed. This is now done by the new
function line-at-pos in simple.el.
(vc-annotate-warp-version): Use line-at-pos instead of
vc-current-line.
2004-01-22 23:34:33 +00:00
André Spiegel
9311321192 (vc-annotate-mode): Inherit from fundamental-mode and activate
view-mode explicitly.
2004-01-21 11:05:51 +00:00
André Spiegel
1b5a73430e * vc.el (vc-default-previous-version): Doc enhancement.
(vc-default-next-version): New function.
(vc-print-log): New arg FOCUS-REV.
(vc-annotate-mode):  Derives from view-mode now.
(vc-annotate):  New args REVISION, DISPLAY-MODE.
(vc-annotate-prev-version): New function.
(vc-annotate-prev-version): New function.
(vc-annotate-next-version): New function.
(vc-annotate-workfile-version): New function.
(vc-annotate-extract-revision-at-line): New function.
(vc-annotate-revision-at-line): New function.
(vc-annotate-revision-previous-to-line): New function.
(vc-annotate-show-log-revision-at-line): New function.
(vc-annotate-show-diff-revision-at-line): New function.
(vc-current-line): New function.
(vc-annotate-warp-version): New function.
2004-01-20 17:39:09 +00:00
Markus Rost
3c85843f33 (vc-dired-purge): Avoid error from `kill-line'. 2003-12-24 23:18:10 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
0757777795 (vc-annotate-offset): Move defvar up. 2003-07-06 19:09:10 +00:00
Stefan Monnier
d0a0a08a1f (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el. 2003-07-06 17:28:12 +00:00
Richard M. Stallman
c142f96c5a (vc-default-show-log-entry): Use with-no-warnings. 2003-06-30 10:34:26 +00:00
Luc Teirlinck
86a6519064 (vc-rename-file): Fix typo. 2003-06-20 13:21:24 +00:00
Stefan Monnier
1cca5da4fa (vc-directory-exclusion-list): Add MCVS and .svn.
(vc-checkin-hook): Adjust option to new name.
2003-05-31 16:47:57 +00:00
André Spiegel
c6e4435030 (vc-delete-file): Fix free variable reference.
(vc-annotate-display): Remove obsolesence declaration; it isn't
obsolete.
2003-05-26 10:33:00 +00:00
Stefan Monnier
11cdd16709 (vc-log-mode-map, vc-maximum-comment-ring-size)
(vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
Move vars to log-edit.el.
(vc-new-comment-index, vc-previous-comment, vc-next-comment)
(vc-comment-search-reverse, vc-comment-search-forward)
(vc-comment-to-change-log): Move funs to log-edit.el.
(vc-clear-context): Don't empty the comment-ring.
(vc-finish-logentry): Don't add the comment onto the comment-ring.
2003-05-18 02:53:24 +00:00
Stefan Monnier
a36319a462 New backend functions delete-file' and repository-hostname'.
(vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
(vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
(vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
Mark as obsolete.
(vc-delete-file): New command.
(vc-default-rename-file): New function.
(vc-rename-file): Use it.
Be careful to disallow renaming if the file is locked or out-of-date.
(vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
(vc-cancel-version, vc-annotate): Use buffer-file-name variable.
2003-05-09 16:33:10 +00:00
Stefan Monnier
b4e4e3a832 (with-vc-properties, with-vc-file, edit-vc-file):
Add `declare's for debugging and indentation.
(vc-do-command): Use `remq'.
(vc-buffer-context): Remove unused var `curbuf'.
(vc-next-action-dired): Remove unused var `dired-dir'.
(vc-switches): New fun.
(vc-diff-switches-list): Use it.
(vc-dired-hook): Remove unused var `cvs-dir'.
(vc-dired-purge): Remove unused var `subdir'.
(vc-cancel-version): Remove unused var `config'.
(vc-rename-master): Use dolist iso mapcar.
(vc-rename-file): Remove redundant tests.
Clear the properties of the old file name.
(vc-annotate): Pass the complete filename to `annotate-command'.
(vc-annotate-lines): Remove unused var `overlay'.
2003-05-08 17:41:16 +00:00
André Spiegel
2807bd9194 (vc-binary-assoc, vc-binary-suffixes): Removed; these were
accidentally left over.
2003-02-19 19:00:51 +00:00
Juanma Barranquero
bf142f280f (vc-annotate-display, vc-checkout-carefully): Add obsolescence declaration and
remove redundant info from docstring.
2003-02-05 23:13:21 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
André Spiegel
4279775b92 (vc-next-action-on-file): Use t argument to vc-checkout in
order to get the latest version on the current branch.  Update
documentation of vc-BACKEND-checkout to explain this.
2002-12-26 14:04:21 +00:00
André Spiegel
570050dc43 Add comment to prev change. 2002-11-03 15:08:29 +00:00
André Spiegel
62c2e775ec (vc-dired-move): Adapt dired-move-to-filename-regexp to its current
version in dired.el.
2002-11-03 14:48:37 +00:00