[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc-rcs.el
From: |
André Spiegel |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc-rcs.el |
Date: |
Fri, 27 Jan 2006 19:12:13 +0000 |
Index: emacs/lisp/vc-rcs.el
diff -u emacs/lisp/vc-rcs.el:1.46 emacs/lisp/vc-rcs.el:1.47
--- emacs/lisp/vc-rcs.el:1.46 Sun Jan 22 16:08:48 2006
+++ emacs/lisp/vc-rcs.el Fri Jan 27 19:12:13 2006
@@ -818,7 +818,7 @@
'needs-patch))
;; locked by the calling user
((and (stringp locking-user)
- (string= locking-user (vc-user-login-name)))
+ (string= locking-user (vc-user-login-name file)))
(if (or (eq (vc-checkout-model file) 'locking)
workfile-is-latest
(vc-rcs-latest-on-branch-p file workfile-version))
@@ -907,7 +907,8 @@
(vc-file-setprop file 'vc-state
(cond
((eq locking-user 'none) 'up-to-date)
- ((string= locking-user (vc-user-login-name))
'edited)
+ ((string= locking-user (vc-user-login-name file))
+ 'edited)
(t locking-user)))
;; If the file has headers, we don't want to query the
;; master file, because that would eliminate all the