aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Spiegel2006-01-25 18:55:41 +0000
committerAndré Spiegel2006-01-25 18:55:41 +0000
commit510f6466f331fa1e7d924f41ca5cde1eea430dc6 (patch)
treeac73435e74f54c6deb58a1930893d573f9fdf925
parent8d2b9c1aade7864678439ad107d3ef763ff3b086 (diff)
downloademacs-510f6466f331fa1e7d924f41ca5cde1eea430dc6.tar.gz
emacs-510f6466f331fa1e7d924f41ca5cde1eea430dc6.zip
(vc-default-dired-state-info): Pass FILE to vc-user-login-name.
(vc-default-update-changelog): Don't use vc-user-login-name, we don't need it here.
-rw-r--r--lisp/vc.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index bf3486a9b67..6fa31fa6502 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2119,7 +2119,7 @@ There is a special command, `*l', to mark all files currently locked."
2119 (let ((state (vc-state file))) 2119 (let ((state (vc-state file)))
2120 (cond 2120 (cond
2121 ((stringp state) (concat "(" state ")")) 2121 ((stringp state) (concat "(" state ")"))
2122 ((eq state 'edited) (concat "(" (vc-user-login-name) ")")) 2122 ((eq state 'edited) (concat "(" (vc-user-login-name file) ")"))
2123 ((eq state 'needs-merge) "(merge)") 2123 ((eq state 'needs-merge) "(merge)")
2124 ((eq state 'needs-patch) "(patch)") 2124 ((eq state 'needs-patch) "(patch)")
2125 ((eq state 'unlocked-changes) "(stale)")))) 2125 ((eq state 'unlocked-changes) "(stale)"))))
@@ -2852,6 +2852,8 @@ Uses `rcs2log' which only works for RCS and CVS."
2852 (expand-file-name "vc" 2852 (expand-file-name "vc"
2853 (or small-temporary-file-directory 2853 (or small-temporary-file-directory
2854 temporary-file-directory)))) 2854 temporary-file-directory))))
2855 (login-name (or user-login-name
2856 (format "uid%d" (number-to-string (user-uid)))))
2855 (full-name (or add-log-full-name 2857 (full-name (or add-log-full-name
2856 (user-full-name) 2858 (user-full-name)
2857 (user-login-name) 2859 (user-login-name)
@@ -2874,7 +2876,7 @@ Uses `rcs2log' which only works for RCS and CVS."
2874 exec-directory) 2876 exec-directory)
2875 nil (list t tempfile) nil 2877 nil (list t tempfile) nil
2876 "-c" changelog 2878 "-c" changelog
2877 "-u" (concat (vc-user-login-name) 2879 "-u" (concat login-name
2878 "\t" full-name 2880 "\t" full-name
2879 "\t" mailing-address) 2881 "\t" mailing-address)
2880 (mapcar 2882 (mapcar