aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorSam Steingold2008-06-03 21:30:35 +0000
committerSam Steingold2008-06-03 21:30:35 +0000
commitbdb55eba8dffa01985b4552780ad554cc5a078d8 (patch)
tree0044410d862ac4ed6324953c4a67270e18789582 /lisp
parent0615d9037b87712c5aaa7ba527e207d474f6c3ca (diff)
downloademacs-bdb55eba8dffa01985b4552780ad554cc5a078d8.tar.gz
emacs-bdb55eba8dffa01985b4552780ad554cc5a078d8.zip
(vc-cvs-status-extra-headers): Remove extraneous newlines.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-cvs.el34
2 files changed, 20 insertions, 18 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1cdfc807853..e509a80e24e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-06-03 Sam Steingold <sds@gnu.org>
2
3 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
4
12008-06-03 John Paul Wallington <jpw@pobox.com> 52008-06-03 John Paul Wallington <jpw@pobox.com>
2 6
3 * progmodes/make-mode.el (makefile-cleanup-continuations) 7 * progmodes/make-mode.el (makefile-cleanup-continuations)
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index dfec8b9541f..63b6794c0e1 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -251,13 +251,13 @@ committed and support display of sticky tags."
251 help-echo 251 help-echo
252 (string 252 (string
253 (let ((def-ml (vc-default-mode-line-string 'CVS file))) 253 (let ((def-ml (vc-default-mode-line-string 'CVS file)))
254 (setq help-echo 254 (setq help-echo
255 (get-text-property 0 'help-echo def-ml)) 255 (get-text-property 0 'help-echo def-ml))
256 def-ml))) 256 def-ml)))
257 (propertize 257 (propertize
258 (if (zerop (length sticky-tag)) 258 (if (zerop (length sticky-tag))
259 string 259 string
260 (setq help-echo (format "%s on the '%s' branch" 260 (setq help-echo (format "%s on the '%s' branch"
261 help-echo sticky-tag)) 261 help-echo sticky-tag))
262 (concat string "[" sticky-tag "]")) 262 (concat string "[" sticky-tag "]"))
263 'help-echo help-echo))) 263 'help-echo help-echo)))
@@ -422,7 +422,7 @@ The changes are between FIRST-REVISION and SECOND-REVISION."
422 (with-current-buffer (get-buffer "*vc*") 422 (with-current-buffer (get-buffer "*vc*")
423 (goto-char (point-min)) 423 (goto-char (point-min))
424 (if (re-search-forward "conflicts during merge" nil t) 424 (if (re-search-forward "conflicts during merge" nil t)
425 (progn 425 (progn
426 (vc-file-setprop file 'vc-state 'conflict) 426 (vc-file-setprop file 'vc-state 'conflict)
427 ;; signal error 427 ;; signal error
428 1) 428 1)
@@ -477,7 +477,7 @@ The changes are between FIRST-REVISION and SECOND-REVISION."
477 (message "Merging changes into %s...done" file)))) 477 (message "Merging changes into %s...done" file))))
478 478
479(defun vc-cvs-modify-change-comment (files rev comment) 479(defun vc-cvs-modify-change-comment (files rev comment)
480 "Modify the change comments for FILES on a specified REV. 480 "Modify the change comments for FILES on a specified REV.
481Will fail unless you have administrative privileges on the repo." 481Will fail unless you have administrative privileges on the repo."
482 (vc-cvs-command nil 0 files "admin" (concat "-m" rev ":" comment))) 482 (vc-cvs-command nil 0 files "admin" (concat "-m" rev ":" comment)))
483 483
@@ -850,7 +850,7 @@ state."
850 (setq subdir (expand-file-name (match-string 1)))) 850 (setq subdir (expand-file-name (match-string 1))))
851 ;; Unregistered files 851 ;; Unregistered files
852 (while (looking-at "? \\(.*\\)") 852 (while (looking-at "? \\(.*\\)")
853 (setq file (file-relative-name 853 (setq file (file-relative-name
854 (expand-file-name (match-string 1) subdir))) 854 (expand-file-name (match-string 1) subdir)))
855 (push (list file 'unregistered) result) 855 (push (list file 'unregistered) result)
856 (forward-line 1)) 856 (forward-line 1))
@@ -890,8 +890,8 @@ state."
890 ;; (goto-char (point-min)) 890 ;; (goto-char (point-min))
891 ;; (while (not (eobp)) 891 ;; (while (not (eobp))
892 ;; (if (looking-at "^[ACMPRU?] \\(.*\\)$") 892 ;; (if (looking-at "^[ACMPRU?] \\(.*\\)$")
893 ;; (push (list (match-string 1) 893 ;; (push (list (match-string 1)
894 ;; (cdr (assoc (char-after) translation))) 894 ;; (cdr (assoc (char-after) translation)))
895 ;; result) 895 ;; result)
896 ;; (cond 896 ;; (cond
897 ;; ((looking-at "cvs update: warning: \\(.*\\) was lost") 897 ;; ((looking-at "cvs update: warning: \\(.*\\) was lost")
@@ -935,7 +935,7 @@ state."
935 (insert-file-contents "CVS/Root") 935 (insert-file-contents "CVS/Root")
936 (goto-char (point-min)) 936 (goto-char (point-min))
937 (and (looking-at ":ext:") (delete-char 5)) 937 (and (looking-at ":ext:") (delete-char 5))
938 (buffer-substring (point) (point-max))) 938 (buffer-substring (point) (1- (point-max))))
939 (file-error nil))) 939 (file-error nil)))
940 (module 940 (module
941 (condition-case nil 941 (condition-case nil
@@ -947,17 +947,15 @@ state."
947 (file-error nil)))) 947 (file-error nil))))
948 (concat 948 (concat
949 (cond (module 949 (cond (module
950 (concat 950 (concat (propertize "Module : " 'face 'font-lock-type-face)
951 (propertize "Module : " 'face 'font-lock-type-face) 951 (propertize module 'face 'font-lock-variable-name-face)))
952 (propertize module 'face 'font-lock-variable-name-face)))
953 (t "")) 952 (t ""))
954 (cond (repo 953 (cond (repo
955 (concat 954 (concat (propertize "Repository : " 'face 'font-lock-type-face)
956 (propertize "Repository : " 'face 'font-lock-type-face) 955 (propertize repo 'face 'font-lock-variable-name-face)))
957 (propertize repo 'face 'font-lock-variable-name-face)))
958 (t "")) 956 (t ""))
959 ;; In CVS, branch is a per-file property, not a per-directory property. We 957 ;; In CVS, branch is a per-file property, not a per-directory property.
960 ;; can't really do this here without making dangerous assumptions. 958 ;; We can't really do this here without making dangerous assumptions.
961 ;;(propertize "Branch: " 'face 'font-lock-type-face) 959 ;;(propertize "Branch: " 'face 'font-lock-type-face)
962 ;;(propertize "ADD CODE TO PRINT THE BRANCH NAME\n" 960 ;;(propertize "ADD CODE TO PRINT THE BRANCH NAME\n"
963 ;; 'face 'font-lock-warning-face) 961 ;; 'face 'font-lock-warning-face)
@@ -1107,7 +1105,7 @@ is non-nil."
1107 (setq table (lazy-completion-table 1105 (setq table (lazy-completion-table
1108 table (lambda () (vc-cvs-revision-table (car files))))) 1106 table (lambda () (vc-cvs-revision-table (car files)))))
1109 table)) 1107 table))
1110 1108
1111 1109
1112(provide 'vc-cvs) 1110(provide 'vc-cvs)
1113 1111